GOTO: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
New page: {{Command|syntax=GOTO <label> |description=*DESCRPTION* |param1=<label>|param1_desc={{label}} }} ===Example=== :- GOTO Category:Language
 
ConnerO (talk | contribs)
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|syntax=GOTO <label>
[[:Category:Language|{{Up}}]]
|description=*DESCRPTION*
 
{{Command|syntax=[[Image:goto.png|right|GOTO]]GOTO <label>
|description=:Go to the defined label and continue the macro from there.


|param1=<label>|param1_desc={{label}}
|param1=<label>|param1_desc={{label}}
Line 6: Line 8:


===Example===
===Example===
:- GOTO
:IF A1 < 3 THEN GOTO My_label
 
:(macro commands)
:<nowiki>:</nowiki>My_label
:For an example macro see [[Inch_Metric]] [[Print_Geo_Data_To_File]]
[[Category:Language]]
[[Category:Language]]

Latest revision as of 22:35, 30 July 2010

Up

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
For an example macro see Inch_Metric Print_Geo_Data_To_File