System Variables
ERR 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
START directives. See Error Codes and Messages, for a complete list of codes.
 
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 ERR( ) Function