Artifact 53bcbe870aea1e961a50bbe5e4cb828788ce149b158771c28152ce6cf621f847:
- Executable file
r37/lisp/csl/html/r37_0119.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: 992) [annotate] [blame] [check-ins using] [more...]
<A NAME=NUMBERP> <TITLE>NUMBERP</TITLE></A> <b><a href=r37_idx.html>INDEX</a></b><p><p> <B>NUMBERP</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>operator</B><P> <P> The <em>numberp</em> operator returns <A HREF=r37_0122.html>true</A> if its argument is a number, and <A HREF=r37_0014.html>nil</A> otherwise. <P> <H3> syntax: </H3> <P> <P> <em>numberp</em>(<expression>) or <em>numberp</em> <expression> <P> <P> <P> <expression> can be any REDUCE scalar expression. <P> <P> <P> <H3> examples: </H3> <P><PRE><TT> cc := 15.3; CC := 15.3 if numberp(cc) then write "number" else write "nonnumber"; number if numberp(cb) then write "number" else write "nonnumber"; nonnumber </TT></PRE><P>Logical operators can only be used in conditional expressions, suc h as <P> <P> <em>if</em>...<em>then</em>...<em>else</em> and <em>while</em>...<em>do</em>. <P> <P> <P>