_pageno
Topic group Related topics Example
Determines or sets the current page number.
Syntax
_pageno = <expN>
<expN>
An integer from 1 to 32,767, inclusive.
Description
Use _pageno to number pages of streaming output from commands such as ?, ??, and LIST.
With _pageno, you can determine the current page number or set the page number to a specific value. Use it to print page numbers in a report or, when combining documents, to assign an incremented number to the first page of the second document.
A page break occurs when the value of _plineno (the line number count) becomes greater than the value of _plength (the currently defined printed page length in lines). At each page break of streaming output, dBASE Plus automatically increments the value of _pageno.