HP 3000 Manuals

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


HP Business BASIC/XL Reference Manual

PAGENUM 

The PAGENUM function is a Report Writer function that returns the current
page number.  The page number is set to 1 when a report is activated.
You can reset this value with the SET PAGENUM statement.  If no report is
active, -1 is returned.

Syntax 

PAGENUM

Example 

     100 Cpage = PAGENUM   !Cpage receives the current page number



MPE/iX 5.0 Documentation