ARGUMENTS


arguments     [ <var type> <var name> ]
{,[ <var type> <var name> ] }

Function

To define the parameters passed by the caller (DO or CALL). It also does parameter type checking.

Parameters

<vartype><varname>

pair of TYPE,NAME defining the parameter. If the name of the parameter variable is preceded by a "@" character, this means that the parameter is passed by reference, The default is by value.
 

 

There is no limit in the number of the parameters.

Examples

arguments numeric v1, point p1

arguments numeric @v1

arguments string sarr[16]

Notes

When a parameter is passed by value it cannot be changed by the called macro. If it is passed by reference then its value can be changed.

See also

Arguments in Macro Calls,do, call