7.0

Table Of Contents
The sample uses two global variables:
Variable: Type: Initialized
to:
Description:
&six Integer 0 The code on the runpage uses this as a counter for the number of
rows (6) on the printed page. The data selection on DOCPAGE also
use this variable to set the line for the data selection.
&two Integer 0 The code on the runpage uses this as a counter for the number of
columns (2) on the printed page.
18.3.4 Print a line of text on odd-numbered pages
This sample prints a line of text only on odd-numbered pages. It uses the system integer variable
&current.printpage, and assumes you add a PlanetPress Talk object containing this code to every page in
your document.
18.3.5 Determine the proper page to print based on the width of the data in the data
page
In this sample, the document contains three different pages and a runpage that manages execution of the
three pages.
Each document page has a different page width and accommodates data of a specific line length. The code
determines which document page to use with a given data page based on the length of line 5 of the data
page. The three page widths are 198 columns, 132 columns, and 80 columns.
Conditions - Code Samples
Objectif Lune Inc. © 2009 301