Specifications

Commands - 41
ERROR
System Statement
SYNTAX: ERR n
ERROR n
PURPOSE: To simulate the occurrence of a run time error.
REMARKS: This statement is usually used to test error trapping systems using the ERR and/or ERL functions.
If n is not an assigned error number, an unknown error message will result.
See the Error Messages Chapter for a list of error codes and messages.
RELATED: ERL, ERR function, ON ERR, RESUME
EXAMPLE: ERR 2
<ERROR 2> <Syntax>
ERROR: <Data negative> – for n
<Data > 255> – for n