FIXP _ _ _ _ _ _ _ _ _ _ _ _ operator
The fixp logical operator returns true if its argument is an integer.
fixp(<expression>) or fixp <simple\_expression>
<expression> can be any valid REDUCE expression, <simple\_expression > must be a single identifier or begin with a prefix operator.
if fixp 1.5 then write "ok" else write "not"; not if fixp(a) then write "ok" else write "not"; not a := 15; A := 15 if fixp(a) then write "ok" else write "not"; ok
Logical operators can only be used inside conditional expressions such as if...then or while...do.