Template:Define var name: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
MikeO (talk | contribs)
New page: The name of the variable to be defined. For a string variable, the name must end with a dollar sign "$"
 
MikeO (talk | contribs)
No edit summary
Line 1: Line 1:
The name of the variable to be defined. For a string variable, the name must end with a dollar sign "$"
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.

Revision as of 21:32, 29 July 2010

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.