Interactive Technologies CueServer 2 User Manual page 141

Table of Contents

Advertisement

Interactive Technologies, Inc.
Using Variable Values
To use variables in CueScript commands, enclose the variable name in single quotes (
For example, using the variable values set from above, the following variable substitutions would be made:
Cue 'x' Go
Macro 'MyVariable'
Set lcd.top 'Message'
Log 'y'
WRITE COM1 'caption'
Using Variable Values as Commands
To use variables values in CueScript as commands, enclose the variable name in accent quotes (
).
`myCommand`
The following example script shows how to assign a string that happens to be valid CueScript to the variable
myCommand. On the second line of script, if the variable x is greater than 3, then the commands in
myCommand will be executed.
"myCommand" = "Cue 1 Go"
If ('x' > 3) Then `myCommand`
Using System Variables
Special System Variables are used to set the properties of hardware devices, or to change internal
behaviors of the CueServer. All system variables include a dot (
lcd.backlight, or universe.priority.
See the section on
System Variables
Executes Cue 3
Runs Macro 42
Displays "Hello World" on the top line of the LCD
Writes "6" to the System Log
Sends "Press 6 to Start" to the RS-232 port
for a description of how to use these built-in variables.
CueServer 2 User's Manual - 18.5.18
) in their name, for example
.
).
'MyVariable'
Page 139 of 429

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CueServer 2 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Related Products for Interactive Technologies CueServer 2

Table of Contents