ORDP _ _ _ _ _ _ _ _ _ _ _ _ operator
The ordp logical operator returns true if its first argument is ordered ahead of its second argument in canonical internal ordering, or is identical to it.
ordp(<expression1>,<expression2>)
<expression1> and <expression2> can be any valid REDUCE scalar expression.
if ordp(x**2 + 1,x**3 + 3) then write "yes" else write "no"; no if ordp(101,100) then write "yes" else write "no"; yes if ordp(x,x) then write "yes" else write "no"; yes
Logical operators can only be used in conditional expressions, suc h as
if...then...else and while...do.