GOTO: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
MikeO (talk | contribs)
No edit summary
Line 6: Line 6:


===Example===
===Example===
:GOTO horizontal
:IF A1 < 3 THEN GOTO My_label
:(macro commands)
:<nowiki>:</nowiki>My_label


[[Category:Language]]
[[Category:Language]]

Revision as of 21:47, 26 July 2010

Command

GOTO
GOTO
GOTO <label>


Go to the defined label and continue the macro from there.

Parameters

<label>
A custom label for the macro. It must be on a new line and it must start with a colon. All the text after the colon is the label name.

Example

IF A1 < 3 THEN GOTO My_label
(macro commands)
:My_label