<A NAME=MAX>
<TITLE>MAX</TITLE></A>
<b><a href=r37_idx.html>INDEX</a></b><p><p>
<B>MAX</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>operator</B><P>
<P>
<P>
<P>
The operator <em>max</em> is an n-ary prefix operator, which returns the largest
value in its arguments.
<P> <H3>
syntax: </H3>
<P>
<P>
<em>max</em>(<expression>{,<expression>}*)
<P>
<P>
<P>
<P>
<expression> must evaluate to a number. <em>max</em> of an empty list
returns 0.
<P>
<P>
<P> <H3>
examples: </H3>
<P><PRE><TT>
max(4,6,10,-1);
10
<<a := 23;b := 2*a;c := 4**2;max(a,b,c)>>;
46
max(-5,-10,-a);
-5
</TT></PRE><P>