ERROR: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
No edit summary
 
Line 1: Line 1:
The ERROR error condition may be used at the end of a program statement, in the Exit statement and in the ON error statement.
The '''ERROR''' [[error condition]] may be used at the end of a program statement, in the Exit statement and in the ON error statement.


===Error Traps:===
===Error Traps:===

Latest revision as of 13:47, 14 April 2014

The ERROR error condition may be used at the end of a program statement, in the Exit statement and in the ON error statement.

Error Traps:

ERROR traps all errors, including all the errors that are trapped by other error conditions (except PAGEOFLOW). Since ERROR will trap any error, it must be placed at the end of a list of error conditions when more than one is specified for the same statement. Any error conditions which follow it will be ignored.