HP 3000 Manuals

MAX [ HP COBOL II/XL Quick Reference Guide ] MPE/iX 5.0 Documentation


HP COBOL II/XL Quick Reference Guide

MAX 

The MAX function returns the content of the parameter-1 that contains the
maximum value.  The function type depends on the parameter type, as
follows:

     Parameter Type                         Function Type                                                                            
     Alphabetic                             Alphanumeric
     Alphanumeric                           Alphanumeric
     All parameters integer                 Integer
     Numeric (some parameters may be        Numeric
integer)

Syntax 

     FUNCTION MAX ({parameter-1}...)

Parameters 

parameter-1           If more than one parameter-1 is specified, all
                      parameters must be of the same class.



MPE/iX 5.0 Documentation