![Interactive Technologies CueServer 2 User Manual Download Page 240](http://html1.mh-extra.com/html/interactive-technologies/cueserver-2/cueserver-2_user-manual_2076041240.webp)
Set
Syntax
Command
Description
Return Value
Set <variable> <value>
Sets the value of the variable The value the variable was set to
•
<variable>
◦ A user variable or system variable name.
•
<value>
◦ A string (a combination of characters enclosed in quotes, such as “Hello World”).
◦ A number (a whole number, or a decimal number, such as
123
or
12.7
).
Alternate Syntax
See:
command.
Description
Setting Values
The
Set
command sets the value of a variable. The variable can be user defined (such as
xyz
,
LoopCount
,
or
IsMyShowEnabled
), or it may be a system variable (such as
button.onColor
or
lcd.backlight
. System
variables always contain a “dot” character (
.
). User variables must not contain a “dot” character,
otherwise, they will be interpreted as a system variable, and they will not be stored properly.
User variables can be defined on the fly, simply by assigning a value to a variable. There is no need to pre-
define variables.
See the
command for an alternate syntax for assigning variable values.
See the
section for how to use variables in the script language.
See the
section for a complete list of available system variables.
Interactive Technologies, Inc.
CueServer 2 User's Manual - 18.5.18
Page 238 of 429