Template:Define var name: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
The name of the variable to be defined.<br> | The name of the variable to be defined.<br> | ||
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 a string variable, the name must end with a dollar sign "$".<br> | ||
For example MyNumericArray(10) or MyStringArray$(15).<br> | |||
When using arrays, the first element is always 1. | :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. | |||
Latest revision as of 00:47, 4 January 2011
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.