Label Command

Provides a marker in code to which GoTo, GoSub, OnCrash GoSub, and other commands can transfer. OnCrash without a GoSub does not require or use a label. There is only one kind of label, even though the code following the label is different, depending on the command used.

Syntax

Label :

Remarks

Example

'This works with the GOTO before the label MAIN_END.

GOTO MAIN_END

MAIN_END:

END

'This also works with the GOTO after the label MAIN_END.

MAIN_END:

END

GOTO MAIN_END