Written July 2020
RESUME
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 the <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'll have an infinite loop, trapping and resuming the same error over and over again.
See Also
• Error Trapping in SBX routines