Rpbasic-52 programming guide, Goto – Remote Processing BASIC 52 User Manual
Page 64

RPBASIC-52 PROGRAMMING GUIDE
2-45
GOTO
Syntax:
G O T O line number
Function:
Routes program execution to line number
Mode:
Comm and, run
Use:
GOTO 100
Cards:
All
D E S C R IP T I ON
When line number is the line num ber of an execu table statem ent, that stateme nt and those follow ing are
executed. G OTO can be used in the comm and mod e to re-enter a program at a desired point.
RELATED
G O S U B , O N -G O T O , O N -G O S U B , R U N
E R R O R
INVALID LINE NUMBER
Specified line nu mber doe s not exist.
EXAMPLE
100 PRINT "At line 100"
200 GOTO 100