CALL: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
ConnerO (talk | contribs)
No edit summary
Line 1: Line 1:
{{Command|syntax=CALL <macro name>, [<arg 1>, <arg 2>, <arg 3> ( max 10 arguments )]
{{Command|syntax=CALL <macro name>, [<arg 1>, <arg 2>, <arg 3> ( max 10 arguments )]
|description=*DESCRPTION*
|description=:Use a different macro inside a macro.


|param1=<macro name>|param1_desc={{macro name}}
|param1=<macro name>|param1_desc={{macro name}}
Line 9: Line 9:


===Example===
===Example===
:- CALL
:CALL "line.mac" r1, q7, tt


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

Revision as of 15:17, 22 July 2010

Command

CALL <macro name>, [<arg 1>, <arg 2>, <arg 3> ( max 10 arguments )]


Use a different macro inside a macro.

Parameters

<macro name>
Name of the macro file, must be in double quotes.
[<arg 1>]
A value to be passed to another macro, or a variable to receive a value passed back from the macro that is called.
[<arg 2>]
A value to be passed to another macro, or a variable to receive a value passed back from the macro that is called.
[<arg 3>]
A value to be passed to another macro, or a variable to receive a value passed back from the macro that is called.

Example

CALL "line.mac" r1, q7, tt