RESUME

Function

RESUME restarts program execution at the specified point after an error.

Syntax

RESUME [NEXT] [line number]

Example

10 ON ERROR GOTO 100
20 IF A<B THEN ERROR 110
100 IF ERR>100 THEN RESUME L2+(ERR/10)

Remarks

If there is no argument in the statement then execution will begin again at the statement which caused the error.

RESUME NEXT begins on the following statement and RESUME line nunber begins at the specified line.