<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>