Artifact f35f15d52534cb0e35e272197c598c112b8e0bf7bc608bee48fbed81b934234f:
- Executable file
r37/lisp/csl/html/r37_0034.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: 1276) [annotate] [blame] [check-ins using] [more...]
<A NAME=greater> <TITLE>greater</TITLE></A> <b><a href=r37_idx.html>INDEX</a></b><p><p> <B>></B> _ _ _ <B>GREATER</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>operator</B><P> <P> The <em>></em> is an infix binary comparison operator that returns true if its first argument is strictly greater than its second. <P> <P> <P> <H3> syntax: </H3> <expression> <em>></em> <expression> <P> <P> <P> <expression> must evaluate to a number, e.g., integer, rational or floating point number. <P> <P> <P> <H3> examples: </H3> <P><PRE><TT> on rounded; if 3.0 > 3 then write "different" else write "same"; same off rounded; a := 20; A := 20 if a > 20 then write "bigger" else write "not bigger"; not bigger </TT></PRE><P>The binary comparison operators can only be used for comparisons b etween numbers or variables that evaluate to numbers. The truth values returned by such a comparison can only be used inside programming constructs, such as <A HREF=r37_0052.html>if</A>...<em>then</em>...<em>else</em> or <A HREF=r37_0056.html>repeat</A>...<em>until</em> or <A HREF=r37_0228.html>while</A>...<em>do</em>. <P> <P> <P>