Remote Processing CAMBASIC User Manual
Page 19
Concepts - 13
6.
relational operators
=
(equal)
< >
(not equal)
<
(less than)
>
(greater than)
< =
(less than or equal to)
> =
(greater than or equal to)
7.
NOT (logical bitwise c omplem ent)
8.
AND (logical bitwise and)
9.
OR (logical bitwise or)
10.
XOR (logical bitwise exclusive OR).
11.
MOD (remainder from integer divide)
All operators listed at the same level are evaluated left to right in an expression.
All logical ope rations con vert their operan ds to 16– bit integer va lues prior to the oper ation. These op erands m ust be in
the range 0 to 65,535 or – 32,768 to 32, 767. If they exceed these values, the result will be meaningless and no error
message will be given.