# RESUME

> [HTML Version](resume_ctrl_stmt.htm)

_Updated February 2024_

**RESUME \{label\}**

RESUME is used exclusively within error trap routines (see [ON ERROR GOTO](onerrorgoto.md)) 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**

•	[ON ERROR GOTO](onerrorgoto.md)

•	[Error Trapping in Functions](errortrappinginfunctions.md)

•	[Error Trapping](errortrapping_sbx.md) in SBX routines