The MAX function returns the content of the argument that contains the maximum value.
The function type depends on the argument types, as follows:
Argument Type Function Type Alphabetic Alphanumeric Alphanumeric Alphanumeric All arguments integer Integer Numeric (some arguments can be Numeric integer)
___ Format _____________________________________________________________ | | | <____________ | | >>__FUNCTION MAX__(____argument-1_|__)______________________________>< | | | |________________________________________________________________________|
The returned value is the content of argument-1 having the greatest value. The comparisons used to determine the greatest value are made according to the rules for simple conditions. For more information, see "Conditional Expressions" in topic 6.1.6.
If more than one argument has the same greatest value, the leftmost argument having that value is returned.
If the type of the function is alphanumeric, the size of the returned value is the same as the size of the selected argument.
Adobe, the Adobe logo, Acrobat, the Acrobat logo, and Acrobat Reader are registered trademarks of Adobe Systems incorporated.