<A NAME=FIXP>
<TITLE>FIXP</TITLE></A>
<b><a href=r37_idx.html>INDEX</a></b><p><p>
<B>FIXP</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>operator</B><P>
<P>
<P>
<P>
The <em>fixp</em> logical operator returns true if its argument is an integer.
<P> <H3>
syntax: </H3>
<P>
<P>
<em>fixp</em>(<expression>) or <em>fixp</em> <simple\_expression>
<P>
<P>
<P>
<expression> can be any valid REDUCE expression, <simple\_expression
>
must be a single identifier or begin with a prefix operator.
<P>
<P>
<P> <H3>
examples: </H3>
<P><PRE><TT>
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
</TT></PRE><P>Logical operators can only be used inside conditional expressions
such as
<em>if</em>...<em>then</em> or <em>while</em>...<em>do</em>.
<P>
<P>
<P>