String Exceptions (Escape Sequences)
Description
In a string in an Engine script an escape sequence can be specified.
The escape sequence is introduced by a backslash (\).
This is followed by an identifier that specifies the escape sequence to be performed:
Identifier Meaning
\ Creates a backslash (\) in the string.
" Creates a quotation mark (") in the string.
n Creates a newline in the string (analogous to
@NewLine).
a Creates a bell signal (sound) on output.
r Creates a CR in the string.
t Creates a tab character in the string.
XZZ Creates a character whose char value is specified
in hexadecimal in ZZ. Exactly two digits must always
be specified.
DZZZ Creates a character whose char value is specified
in decimal in ZZZ. Exactly three digits must always
be specified.
Examples:
Input string Result string
"Hello \"12345\"" "Hello "12345""
"C:\\NOTES\\TEST.NSF" "C:\NOTES\TEST.NSF"
"@Char(50) corresponds to \"\D050\"" "@Char(50) corresponds to "2""
Note : This text was machine-translated and may contain inaccuracies.
