Action
Jump to the specified label.
Syntax
GOTO label
Remarks
Labels can be up to 32 characters long.
When you use duplicate labels, the compiler will give you a warning.
See
also
GOSUB
Example
Start: 'a label must end with a colon
A = A + 1 'increment a
IF A < 10 THEN
'is it less than 10?
GOTO Start 'do it again
END IF 'close IF
PRINT " Ready" 'that
is it
|