Table of Contents

ONERR

Sets an error-handling trap which jumps execution to a given line with GOTO

Implemented by: Applesoft

With variations:

Also written as:

Usage

This is the Applesoft equivalent to ON ERROR found in other BASICs.

It is known to have a "deficiency" that may cause a crash, as Wikipedia says1), according to the Applesoft BASIC Programmers Reference Manual2): if RESUME is not found in the error-handling routine, the system stack is not reset.

Variations

Examples

Comments

Similar keywords

In other languages...

References