GOTO LineNumber
GOTO LabelName
Jumps to the program sequence of LineNumber or LabelName.
GOTO LineNumber
GOTO LabelName
LineNumber - The line number of the code sequence. Implicitly converted to type integer.
LabelName - The label of the code sequence. implicitly converted to type string.
The GOTO instruction is processed only when the program is running.
If the line number of the code sequence is invalid, it stops executing the program and outputs an "Undefined line number" error.
> 10 PRINT "Hello World"
> 20 GOTO 10
> RUN
Hello World
Hello World
Hello World
...