
BASIC PROGRAMMING GUIDE
2-24
GOTO
Syntax: GOTO
line number
Function: Routes program execution to
line number
Mode: Command, run
Use: GOTO 100
DESCRIPTION
When
line number
is the line number of an executable statement, that statement and those following are
executed. GOTO can be used in the command mode to re-enter a program at a desired point.
RELATED
GOSUB, ON-GOTO, ON-GOSUB, RUN
ERROR
INVALID LINE NUMBER Specified line number does not exist.
EXAMPLE
100 PRINT "At line 100"
200 GOTO 100
Kommentare zu diesen Handbüchern