dos_compilers/Microsoft QuickBASIC v3/manual/ng108e8.html
2024-07-01 13:00:14 -07:00

50 lines
1.7 KiB
HTML

<HTML>
<HEAD><TITLE>QuickBASIC 3.0 - Long Entry</TITLE></HEAD>
<BODY>
<A HREF="ng107b9.html">[&lt;&lt;Previous Entry]</A>
<A HREF="ng320.html">[^^Up^^]</A>
<A HREF="ng10c5d.html">[Next Entry&gt;&gt;]</A>
<A HREF="menu.html" >[Menu]</A>
<A HREF="info.html">[About The Guide]</A>
<HR>
<PRE>
<B>ERROR Force Error</B>
<B>ERROR</B> <U>n</U>
Produces error number <U>n</U>.
<U>n</U> An integer expression in the range 0 to 255.
----------------------------------------------------------------------
<B>Notes:</B> If <U>n</U> is not one of BASIC's standard error numbers, and no
ON ERROR routine is in use, ERROR <U>n</U> stops program
execution and produces an "Unprintable error" error
message.
If an ON ERROR routine is in effect, an ERROR <U>n</U> statement
is trapped in the normal way, whether or not the number is
one of BASIC's error numbers.
If you are using a nonstandard error number, Microsoft
recommends that you use the highest available number, to
maintain compatibility with future releases of QuickBASIC.
This statement is provided as an aid in debugging error-
trapping routines.
</PRE>
<HR>
<B>See Also:</B>
<A HREF="ng10563.html">ERL</A>
<A HREF="ng107b9.html">ERR</A>
<A HREF="ng1ded6.html">ON ERROR</A>
<A HREF="ng2b195.html">RESUME</A>
<HR>
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by <A HREF="http://www.acemake.com/hagbard">Dave Pearson</A>
<HR>
</BODY>
</HTML>