EasyManua.ls Logo

Crestron SIMPL+ - String Operators in SIMPL+

Crestron SIMPL+
374 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Crestron SIMPL+
®
Software
Language Reference Guide - DOC. 5797G SIMPL+
®
z 17
String Operators
For less than and greater than operations, the string is evaluated in ASCII order. For
example, the comparison “ABC” > “ABD” would be false. The system looks
character by character; the first two characters are identical in both strings, and when
it evaluated the characters C (ASCII 67) vs. D (ASCII 68), the result is false. The
comparison “ABC”<“ABCD” is true because a shorter string alphabetically precedes
one that is identical but longer.
OPERATOR NAME EXAMPLE EXPLANATION
= Assignment* A$ = B$ Assigns the value in B$ to A$.
*NOTE: Not allowed in expressions because of possible confusion with comparison.
= Comparison A$ = B$ A$ equal B$
<> Not Equal To A$ <> B$ A$ is not equal to B$
< Less Than A$ < B$ A$ is less than B$
> Greater Than A$ > B$ A$ is greater than B$

Table of Contents

Other manuals for Crestron SIMPL+

Related product manuals