|
Macro Command Help |
Macro Command Name |
Menu Path |
Link to Command Table |
GOTO |
Access via macro or menu only |
Introduction
Unconditionally branches to a specified command label within a macro or menu.
How to use
Format : GOTO <LABEL NAME>
The label may consist of up to 16 characters, and must be present in the current macro/menu or an error will result. Labels are denoted by using the special char ":" (colon).
See also: BACKTO, RETURN, GOSUB, IF.
Example
The following macro fragment will force macro processing to ignore all commands until the label "PLOT_INIT".
!GOTO PLOT_INIT
...
...
!PLOT_INIT:REM --- plot startup commands
Error and Warning Messages
Message |
Description |
Solution |
>>> INCORRECT LABEL IN GOTO/GOSUB
XXXX OR XXXX NOT FOUND <<< |
The listed label could not be found. |
Check the name and syntax of the listed label. |
|
|
|