This system variable tells you on which page of the diary/output file the incoming macro token is.
Some examples of it usage.
Letting you create your own page numbering scheme.
//display page numbers using Roman numerals
sResult = IntToRoman(n_OutputPage)
Handling macros and their actions differently depending on the page being left or right sided.
if IsOdd(n_OutputPage)
// right-side page processing
else
// left-side page processing
endif
Note that this includes all pages of the output file, even if you inserted blank pages at the front.
See also: n_GridPage.
Topic 105143, last updated on 18-Apr-2020