
RPBASIC-52 PROGRAMMING GUIDE
2-45
GOTO
Syntax: GOTO line number
Function: Routes program execution to line number
Mode: Command, run
Use: GOTO 100
Cards: All
DESCRIPTION
When line number is the line number of an executable statem ent, that stateme nt and those following are
executed. GOTO can be used in the comm and mod e 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
Komentáře k této Příručce