HP 3000 Manuals

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


HP COBOL II/XL Quick Reference Guide

RANGE 

The RANGE function returns a value that is equal to the value of the
maximum parameter minus the value of the minimum parameter.  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 RANGE ({parameter-1}...)

Parameters 

parameter-1           Must be class numeric.



MPE/iX 5.0 Documentation