Maximum value

max expr1 expr2
(max expr1)
(max expr1 expr2 expr3 ...)

Returns the maximum value of exprNN. If any exprNN is a collection then maximum value in this collection is compared to values of other exprMM in arguments.

Example:

"a := {3 {2 1}}
print max 4 :a
print (max :a)

Output:

4
3

See also:

Table of Content