Relational Expressions


C++ like relational expressions are defined for use as boolean arguments to procedures and for use with conditional expressions. The relational operators are:

"=="
<true> if the expressions are equal.
"!="
<true> if the expressions are not equal.
"<"
<true> if the left hand expression (LHE) is less than the right hand expression (RHE).
">"
<true> if the LHE is greater than the RHE.
"<="
<true> if the LHE is less than or equal to the RHE.
">="
<true> if the LHE is greater than or equal to the RHE.
"&&"
<true> if both expressions are non-zero or <true>.
"||"
<true> if either expression is non-zero or <true>.
The following example would return <false>:
        1+3 >= 3**4;


Both arguments to "==", "!=", "<",
">", ">=", and "<=" must be
numeric (integers, floats, or expressions returning integers or
floats).  The arguments to "&&" and "||" may be
numeric or boolean.