-
Notifications
You must be signed in to change notification settings - Fork 0
Andrew Owen edited this page May 25, 2023
·
1 revision
ON n {GOTO|GOSUB} line_number_0 [, line_number_1] ...
Jumps to the n
th line number specified in the list. If n
is 0
or greater than
the number of line numbers in the list, no jump is performed. If GOTO
is
specified, the jump is unconditional; if GOSUB
is specified, jumps to a
subroutine.
-
n
is a numeric expression in[0 to 255]
. -
line_number_0, line_number_1, ...
are existing line numbers in the program.
-
n
has a string value: Type mismatch. -
n
is not in[-32768 to 32767]
, Overflow. -
n
is not in[0 to 255]
: Illegal function call. - The line number jumped to does not exist: Undefined line number.
- Press
RETURN
to return to this menu. - Enter the name of a
TOPIC
to display it. - Enter
EXIT
to return to BASIC.
Choose from the following topics: