ORD-MAX
The ORD-MAX function returns the ordinal position of maximum argument.
Syntax 1
function ord-max (arg-1[, arg2 ...,arg-n])
Syntax 2
$ord-max (arg-1[, arg2 ...,arg-n])
Arguments
arg-1 can be either a numeric or a alphanumeric data item or literal. Other arguments, if any, must be of the same type.
Result
The function returns the ordinal position of the maximum value between the passed arguments.
Examples
Example - Display the maximum ordinal value between 1, 2 and 3.
display function ord-max(1, 2, 3)