Template:Define var name: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
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.<br> | ||
For an array variable, you must specify the number of elements in the array | For a string variable, the name must end with a dollar sign "$".<br> | ||
For an array variable, you must specify the number of elements in the array.<br> | |||
For example MyNumericArray(10) or MyStringArray$(15).<br> | |||
When using arrays, the first element is always 1. | 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.