ERR |
Last System-Detected Error Value |
Integer, last system-detected error code
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.
ERR( ) Test Error Value
Error Codes and Messages
BEGIN Reset Files and Variables
CLEAR Reset Variables
END Halt Execution of Program
RESET Reset Program State
STOP Halt Program Execution
START Restart Session
In this example, the "TEST" file is already open:
open (5)"TEST"
Error #14: Invalid I/O request for file state
?err
14