HP 3000 Manuals

NUMDETAIL [ HP Business BASIC/XL Reference Manual ] MPE/iX 5.0 Documentation


HP Business BASIC/XL Reference Manual

NUMDETAIL 

This Report Writer function returns the number of DETAIL LINES with a
non-zero totals_flag executed for the given level.  This value is reset
to zero each time a break occurs at the indicated level.  If a report is
not active, an error occurs.

The level number can be zero.  Zero returns the total number of DETAIL
LINE statements that accumulate totals.  This value is used by the AVG
function.

Syntax 

NUMDETAIL(level)

Parameters 

level            The summary level number.  This must be in the range of
                 [0, 9]

Example 

     110 Numbers = NUMDETAIL(Level1)  !Numbers receives the number of
     111                              !DETAIL LINES executed.



MPE/iX 5.0 Documentation