Artifact b9c0cd3ea259416d6ceaea95a11776465fde957bc0b42b9e75b1adbc9af02913:
- Executable file
r37/lisp/csl/html/r37_0117.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: 1133) [annotate] [blame] [check-ins using] [more...]
<A NAME=NEQ> <TITLE>NEQ</TITLE></A> <b><a href=r37_idx.html>INDEX</a></b><p><p> <B>NEQ</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>operator</B><P> <P> The operator <em>neq</em> is an infix binary comparison operator. It returns <A HREF=r37_0122.html>true</A> if its two arguments are not <A HREF=r37_0110.html>equal</A>. <P> <P> <P> <H3> syntax: </H3> <expression> <em>neq</em> <expression> <P> <P> <P> An inequality is satisfied between floating point numbers and integers that have the same value. <P> <P> <P> <H3> examples: </H3> <P><PRE><TT> on rounded; a := 4; A := 4 b := 4.0; B := 4.0 if a neq b then write "true" else write "false"; false if a neq 5 then write "true" else write "false"; true </TT></PRE><P>Comparison operators can only be used as conditions in conditional commands such as <em>if</em>...<em>then</em> and <em>repeat</em>...<em>until</em>. <neq> can also be used as a prefix operator. However, this use is not encouraged. <P> <P> <P>