The ORD-MAX function returns a value that is the ordinal number of the argument-1 that contains the maximum value. The type
of this function is integer.
- If more than one argument-1 is specified, all arguments must be of the same class, except alphabetic and alphanumeric arguments
which can be mixed.
- The returned value is the ordinal number that corresponds to the position of the argument-1 having the greatest value in the
- The comparisons used to determine the greatest valued argument are made according to the rules for relation conditions. See
Relation Condition in the chapter
- If more than one argument-1 has the same greatest value, the number returned corresponds to the position of the leftmost argument-1
having that value.