Strings - Interactive Technologies CueServer 2 User Manual

Table of Contents

Advertisement

Interactive Technologies, Inc.

Strings

CueScript commands frequently contain strings. A string is a series of zero or more characters enclosed in
"double-quotes".
Examples of strings include: "Hello World", "Press Stop to Cancel Show Playback", "button.onColor", and
"My First Show".
Examples of commands that use strings are AUDIO, LOAD, LOG, SET, STACK, and WRITE.
Special Characters
Sometimes it is necessary to enter special characters that are non-printable or difficult to enter into a string
from the keyboard. Examples include carriage returns, linefeeds, tabs, quotation marks, or special
hexadecimal characters such as NULL (0×00).
CueServer allows special characters to be entered into strings using escape sequences that start with the
backslash character (\) followed by a single letter that designates the specific escape character desired. For
example, the escape sequence "\n" becomes a new-line character.
Because the backslash is used to mean "escape", a single backslash can't be used to put a backslash into a
string. If a backslash is needed, use the escape sequence for backslash which is a double-backslash (\\).
The following table shows the supported escape sequences:
Escape Sequence Hex Value Character Represented
\a
\b
\f
\n
\r
\t
\v
\\
Alarm/Bell
0x07
0x08
Backspace
Formfeed
0x0C
Newline
0x0A
0x0D
Carriage Return
Horizontal Tab
0x09
0x0B
Vertical Tab
Backslash
0x5C
CueServer 2 User's Manual - 18.5.18
Page 144 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?

Questions and answers

Related Products for Interactive Technologies CueServer 2

Table of Contents