558
ERR System Variable
Last System-Detected Error Value
Numeric System Variable
Contents
Integer, last system-detected error code.
Description
The ERR variable contains a numeric value (integer) that indicates the last
system-detected error. It is reset by the BEGIN, CLEAR, END, RESET, STOP, and
Examples
In the following example, the "TEST" file is already open:
0100 OPEN (5)"TEST"
Error #14: Invalid I/O request for file state
->?ERR
14
See Also
ERS System Variable
Line Number of Last Error
Numeric System Variable
Contents
Integer, line number that generated last error.
Description
This ERS variable contains the line number that generated the last error detected in
the program.
Examples
0030?LET X$="" PRINT "Reset"
Error #20: Syntax error
1>RUN
0030?Let X$="" print "Rest"
Error #20: Syntax error
->?ERS
30
> EDIT 30