Crestron SIMPL+ Reference Manual page 27

Language reference guide
Hide thumbs Also See for SIMPL+:
Table of Contents

Advertisement

Crestron SIMPL+
Language Reference Guide - DOC. 5797G
®
String Operators
OPERATOR
=
Assignment*
*NOTE: Not allowed in expressions because of possible confusion with comparison.
=
Comparison
<>
Not Equal To
<
Less Than
>
Greater Than
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.
NAME
EXAMPLE
A$ = B$
A$ = B$
A$ <> B$
A$ < B$
A$ > B$
Software
EXPLANATION
Assigns the value in B$ to A$.
A$ equal B$
A$ is not equal to B$
A$ is less than B$
A$ is greater than B$
®
SIMPL+
17

Advertisement

Table of Contents
loading

Table of Contents