Variables |
Top Previous Next |
Variables start with a single dollar-sign ($) followed by the variable name. The name can contain characters (a-z), numbers (0-9) and the underscore character (_). The length of a variable name is not limited. Variable names are case insensitive ($abc is the same as $ABC). You can assign numbers and strings to a variable, strings must be enclosed in double quotation marks ("..."). An explicit declaration is not required.
You can assign the following values to a variable:
Examples:
Numeric operations For numeric calculations you can use the following operations:
Operand1 and Operand2 can be numbers, other variables or the result of a built-in function. String operations For strings you can use the following operation:
Operand1 and Operand2 can be strings, other variables or the result of a built-in function.
Examples:
Please note that a maximum of one operation per line is possible. Variables in MessageBox and other commands Variables can also be used in the MessageBox command and in parameters of all other commands. If you place the variable name between { and }, then it will automatically be replaced with the value of the variable.
Examples:
|