Feature Rich
Rapid Application Development
Helping you or your customers
Manage their Business

All Commands All Variables
Commands

VAR

This declare a Variable for later use. If the variable name if followed by brackets '()' it will be defined as an array.

This differs from SET as it will declare the variable at the current scope level and ensure that any subsequent GET or SET commands refer to this variable rather than one set at a higher level.

If you are using a variable for the first time, VAR will execute quicker than SET.

Number Name Default Type Description
1 name String The name of the Variable
The Variable name can be a reference to an array element such as MY_ARRAY(1).
2 value String The value to assign to the variable
Scope Example Example
[V1 = 50]
[V2 = 100]

[V1 = 50]
[V2 = 20]
Variable Declration Example
[100]
to add a Comment.