HP 3000 Manuals

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


HP COBOL II/XL Quick Reference Guide

SUM 

The SUM function returns a value that is the sum of the parameters.  The
function type is either integer or numeric depending on the type of the
parameters, as follows:

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

Syntax 

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

Parameters 

parameter-1           Must be class numeric.



MPE/iX 5.0 Documentation