onerror
Index

OnError

Format

onerror label

Description

Causes the subroutine at label to be executed when an runtime error occurs. Program control may be resumed at the next statement with a Return statement in the subroutine.

Example

See example of usage on Error Codes page.

See Also

Error Codes, Lasterror, Lasterrorextra, Lasterrorline, Lasterrormessage, Offerror

New To Version

0.9.6z