PAGE-NUMBER
Syntax
PAGE-NUMBER position[pre_txt_lit[post_txt_lit]]
Description
Places the current page number on the page.
The text specified in pre_txt_lit and post_txt_lit is printed immediately before and after the number.
Parameters
| Parameter | Description |
|---|---|
|
position |
Specifies the position of the page number. See the POSITION command for a description and examples of the position parameter. |
|
pre_txt_lit |
Specifies a text string to be printed before the page number. |
|
post_txt_lit |
Specifies a text string to be printed after the page number. |
Example
The following example shows the PAGE-NUMBER command:
begin-footing 1
page-number (1,37) 'Page ' ! Will appear as
last-page () ' of ' '.' ! "Page 12 of 25."
end-footing
See LAST-PAGE