page

Inserts a page break.

Syntax

page

Input

N/A

Example

Template:
{label = {"zero", "one", "two", "three", "four"} }
{c0 = {" ", "I", "II", "III", "IV", "V", "VI"} }
{c1 = {0, 1, 2, 3, 4, 5, 6} }
 
{define header()} Chapter 5 - Templex Functions {enddefine}
 
{page}
{header()}
{table(label, c0, c1, "%8s %8s %4d", 0, 2)}
{page}
{header()}
{table(label, c0, c1, "%8s %8s %4d", 0, 4)}
Output:
Chapter 5 - Templex Functions zero
 one I 1
 two II 2
Chapter 5 - Templex Functions zero
 one I 1
 two II 2
 three III 3
 four IV 4

Comments

The page statement enables you to break output into pages. Headers and footers can be included on each page by defining macros named "header" and "footer."