Specifications
See Indexed variables on page 296.
Basic syntax
Variable name
In its simplest form, a variable is specified as follows:
[Group.Variable]
The variable name is surrounded by square brackets. Whitespace is not allowed in the variable
specification.
Variable names contain two segments separated with a period. The first segment is the group
name; the second segment is the variable name within the group.
Arguments
Some variables can contain arguments that help determine the variable’s dynamic value.
Arguments are specified as follows:
[Group.Variable:ArgumentName1="Value",ArgumentName2="Value"]
In this example, two arguments are defined with names “ArgumentName1” and
“ArgumentName2”. If a variable has arguments, the variable name is followed by a colon which
is followed by the arguments. For each argument, the argument name is followed by an equal
sign and the value of that argument between single or double quotes. The value can contain
single quotes if it is double-quoted, or double quotes if it is single-quoted. A comma separates
the arguments if there is more than one. A variable specification must not contain any whitespace
except when required in a quoted argument value.
Note:
It is not possible to include one variable inside another, so an argument for a variable can NOT
be a variable. If you want to use the result of one variable as an argument of another, you
should use scripting.
See also:
• Data types on page 292
• Formatting on page 293
• Comparing on page 295
• Indexed variables on page 296
• String manipulations on page 297
Data types
Each variable has a specific data type, which is indicated with the variable’s description. The
data type is important for two reasons:
• For some data types, the formatting of the variable’s text representation can be influenced
by specifying an appropriate argument for the variable.
• When using a variable in a condition, the data type determines the type of comparison
performed with the dynamic value.
The following table lists the supported data types for variables.
292
Enfocus Switch 10










