Compartir a través de


_PAGENO System Variable

Contains the current page number.

_PAGENO = nCurrentPageNumber

Parameters

  • nCurrentPageNumber
    Specifies a numeric value from 1 to 32,767 for the current page number. _PAGENO, _PBPAGE and _PEPAGE work in unison. If _PAGENO is set (or incremented) such that it falls outside the range of _PBPAGE to _PEPAGE, no pages are printed.

Remarks

_PAGENO contains a numeric value that determines the current page number. The startup default is 1. _PAGENO allows you to print page numbers in streaming output without defining, initializing, and incrementing a memory variable for that purpose.

See Also

Reference

System Variables

ON PAGE Command

_PBPAGE System Variable

_PEPAGE System Variable

_PLENGTH System Variable

_PLINENO System Variable

_PAGETOTAL System Variable