Next: MCLOCK, Previous: MAXLOC, Up: Intrinsic Procedures
MAXVAL
— Maximum value of an array.TRUE.
are
considered. If the array has zero size, or all of the elements of
MASK are .FALSE.
, then the result is the most negative
number of the type and kind of ARRAY if ARRAY is numeric, or
a string of nulls if ARRAY is of character type.
RESULT = MAXVAL(ARRAY, DIM [, MASK])
|
RESULT = MAXVAL(ARRAY [, MASK])
|
ARRAY | Shall be an array of type INTEGER(*) ,
REAL(*) , or CHARACTER(*) .
|
DIM | (Optional) Shall be a scalar of type
INTEGER(*) , with a value between one
and the rank of ARRAY, inclusive. It
may not be an optional dummy argument.
|
MASK | Shall be an array of type LOGICAL(*) ,
and conformable with ARRAY.
|