Crestron SIMPL+
Language Reference Guide - DOC. 5797G
®
Compiler Error 1201
expression error: Invalid \\x sequence
A hexadecimal sequence within a literal string contained an invalid format.
Characters represented by a hexadecimal number must follow the format: \xXX,
where '\x' signifies that a hexadecimal sequence is to follow and XX is the 2 digit
hexadecimal value.
The following are examples of this error:
Function myFunc()
{
STRING str[100];
MakeString( str, "Sending commands \xFF" );
MakeString( str, "Sending commands \x41\x1A\xFF" ); // ok
MakeString( str, "Sending cmd \x4" );
required
MakeString( str, "Sending cmd \x" );
expected
MakeString( str, "Sending cmd \xZZ" ); // error – invalid
hex code
MakeString( str, "Sending cmd \xZZ" ); // error – invalid
hex code
}
Invalid \\x sequence: '<expression>'
Software
// ok
// error – 2 digits
// error – hex code
®
SIMPL+
303