Variable Types
RELATIONAL OPERATORS
Relational operators are used to compare two
values. The result of the comparison is either
"true" (-1) or "false" (0). This result may then
be used to make a decision regarding program
flow. (See "IF" statements, in the Reference
section).
The relational operators are:
Operator
< >
or
><
<
>
<=
or
=<
>=
or
=>
Relation Tested
Equality
Inequality
Less than
Greater than
Less than or equal to
Greater than or equal to
Example
X=Y
X<>y
X<y
X>y
X<=y
X>=y
3-19