Label
Statement Label
Create a named point in the script file.
Syntax Label label_name OR :label_Name
Remarks
LABEL, or the colon (:) for short, will create a named point in your script. This point can then be referenced by statements such as GOTO or GOSUB.
The only thing that can appear following the label_name is a comment.
See Also:
Example:
NUMBER i = 0
' This is a very bad way to construct loops!
:ThisIsTheStart ' You could type the word Label, but you don't have to.
i++
IF i < 10 THEN
PRINT "Not Yet"
GOTO ThisIsTheStart
ENDIF
PRINT "DONE"