GLOBAL

From Macros Wiki
Revision as of 21:29, 29 July 2010 by MikeO (talk | contribs)
Jump to navigationJump to search

Command

GLOBAL <var name>, <var name>, <var name> (max 50 variables)


Define variables that can be used in any macro.

Parameters

<var name>
The name of the variable to be defined.
For a string variable, the name must end with a dollar sign "$".
For an array variable, you must specify the number of elements in the array.
For example MyNumericArray(10) or MyStringArray$(15).
When using arrays, the first element is always 1.
<var name>
The name of the variable to be defined.
For a string variable, the name must end with a dollar sign "$".
For an array variable, you must specify the number of elements in the array.
For example MyNumericArray(10) or MyStringArray$(15).
When using arrays, the first element is always 1.
<var name>
The name of the variable to be defined.
For a string variable, the name must end with a dollar sign "$".
For an array variable, you must specify the number of elements in the array.
For example MyNumericArray(10) or MyStringArray$(15).
When using arrays, the first element is always 1.

Example

GLOBAL iref1
For an example macro see Modify_Op_Path Explode_Shape Calc_Geo_Extents Get_Commands Get_MTM_Data