Specifications

Chapter 14. Statement Reference
312
Syntax:
Syntax 1:
RESUME [0]
Syntax 2:
RESUME NEXT
Syntax 3:
RESUME label
Description:
RESUME returns control from the error-handling routine to a specified location of the
main program to resume program execution.
The
RESUME statement has three forms as listed below. The form determines
where execution resumes.
The
RESUME statement should be put inside the error-handling routine.
Syntax errors:
Error control statement
RESUME
Causes program execution to resume at a specified location after control is transferred to an
error-handling routine.
RESUME or RESUME 0
Resumes program execution with the
statement that caused the error.
RESUME NEXT
Resumes program execution with the
statement immediately following the one
that caused the error.
RESUME label
Resumes program execution with the
statement designated by
label.
Error code and message Meaning
error 71: Syntax error label has not been defined.