PAGENO

The PAGENO operator returns a positive whole number, corresponding to the number of the page of report output that 4GL is currently printing. (PAGENO is valid only in the FORMAT section of a REPORT program block.)

4GLREF00000097.gif

This returns a positive integer, whose value is the number of the page that includes the current print position in the currently executing report.

Reference

LINENO