Please enable JavaScript to view this site.

A-Shell Reference

Updated February 2024

RESUME {label}

RESUME is used exclusively within error trap routines (see ON ERROR GOTO) to clear the error status and resume the program. You have the option of resuming at a specific location by specifying a label, or you can resume at the statement that caused the error by omitting label. Note that the latter case only makes sense when the error trap routine—or some external event, such as releasing a lock on a file—effectively resolves the problem which caused the error. Otherwise you will have an infinite loop, trapping and resuming the same error over and over again.

See Also

Error Trapping in SBX routines