Artifact b343702dc49c8114f3447f2a6822d35d64035a7b1fd80d5a0279763b605a0ed8:
- Executable file
r37/lisp/csl/html/r37_0118.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: 1001) [annotate] [blame] [check-ins using] [more...]
<A NAME=NOT> <TITLE>NOT</TITLE></A> <b><a href=r37_idx.html>INDEX</a></b><p><p> <B>NOT</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>operator</B><P> <P> The <em>not</em> operator returns <A HREF=r37_0122.html>true</A> if its argument evaluates to <A HREF=r37_0014.html>nil</A>, and <em>nil</em> if its argument is <em>true</em> . <P> <H3> syntax: </H3> <P> <P> <em>not</em>(<logical expression>) <P> <P> <P> <P> <H3> examples: </H3> <P><PRE><TT> if not numberp(a) then write "indeterminate" else write a; indeterminate; a := 10; A := 10 if not numberp(a) then write "indeterminate" else write a; 10 if not(numberp(a) and a < 0) then write "positive number"; positive number </TT></PRE><P>Logical operators can only be used in conditional statements such as <P> <P> <em>if</em>...<em>then</em>...<em>else</em> or <em>while</em>...<em>do</em>. <P> <P> <P>