PAGE-NUMBER

Function

Places the current page number on the page.

Syntax

PAGE-NUMBER position [pre_txt_lit [post_txt_lit]]

Arguments

position

Position of the page number.

pre_txt_lit

Text string to print before the page number.

post_txt_lit

Text string to print after the page number.

Description

The text specified in pre_txt_lit and post_txt_lit are printed immediately before and after the number.

Examples

begin-footing 1
  page-number(1,37)  'Page '! Will appear as
  last-page ()  ' of '  '.'! "Page 12 of 25."
end-footing

See Also

LAST-PAGE