Artifact c40a8807384836d61071e117577a177e228755db17538b49bb233e91e7fd0b48:
- Executable file
r37/lisp/csl/html/r37_0083.html
— part of check-in
[f2fda60abd]
at
2011-09-02 18:13:33
on branch master
— Some historical releases purely for archival purposes
git-svn-id: https://svn.code.sf.net/p/reduce-algebra/code/trunk/historical@1375 2bfe0521-f11c-4a00-b80e-6202646ff360 (user: arthurcnorman@users.sourceforge.net, size: 1048) [annotate] [blame] [check-ins using] [more...]
<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>