MAX INDEX

MAX _ _ _ _ _ _ _ _ _ _ _ _ operator

The operator max is an n-ary prefix operator, which returns the largest value in its arguments.

syntax:

max(<expression>{,<expression>}*)

<expression> must evaluate to a number. max of an empty list returns 0.

examples:


max(4,6,10,-1); 

  10 


<<a := 23;b := 2*a;c := 4**2;max(a,b,c)>>;
			 


  46 


max(-5,-10,-a); 

  -5