Programmer Guide/Command Reference/GOTO
From STX Wiki
Jump to navigationJump to search
GOTO label [default_label]
- Continue macro execution at the label label. With the argument default_label a second label can be specified which is used as the target if label is not defined. The
GOTO
command with a variable label is often used to implement a switch-like control structure. In this case, default_label is the name of the default switch-clause. If label (and default_label) is not defined, an error is generated and the macro is terminated.