MAX(


General Form:
max.gif


The MAX( function is used to return the highest value from the specified expressions or arrays. If an array is specified then each element of the array is considered as a separate argument for the function. The MAX( function is valid wherever a numeric or string expression is legal.

Syntax examples:

amsl = MAX(500,test)
result = MAX(cat(),20)
test$ = MAX(string1$, string2$, one$)