en:offerror [BASIC 256 - Language Documentation]

# BASIC 256 - Language Documentation

en:offerror

## OffError (Statement)

### Format

offerror

### Description

Removes the last error trap defined with the OnError statement. If all of the traps have been removed then error trapping is restored to the default behavior.

You may not execute an OffError statement inside a Try / Catch / End Try statement.

### Example

See example of usage on Error Codes page.

### See Also

Lasterror, Lasterrorextra, Lasterrorline, Lasterrormessage, Offerror, Onerror, ThrowError, Try / Catch / EndTry

### History

0.9.6z | New To Version

en/offerror.txt · Last modified: 2014/02/08 12:26 by admin