GOTO
Normally, each macro line is executed in turn. GOTO allows execution to resume at an arbitrary point in the macro. GOTO is always used in conjunction with the LABEL command.
Syntax:
GOTO label_number GOTO text_label
Discussion:
There must be a LABEL command with the corresponding label_number or text_label somewhere in the macro, or an error will result.
Example:
LABEL 1 x = RAND(10) if x <= 5 THEN GOTO 1 PRINT " X is greater than 5 "
Next: