7.2

Table Of Contents
PlanetPress Talk Basics
In this section, you learn to:
l "Learning PlanetPress Talk" (page 216)
l "Integrate PlanetPress Talk into Documents" (page 235)
l "Define and Assign Values to Variables" (page 235)
l "Select Data" (page 236)
l "Use Functions as Arguments" (page 236)
l "Debug Scripts" (page 236)
l "Tips and Tricks" (page 236)
In this section, you find examples of how you can use PlanetPress Talk to do the following:
l "Print a variable number of copies of a page based on a value in the datastream" (page 237)
l "Store two lines of input data on one line of the data page" (page 238)
l "Print a page n-up" (page n)
l "Print a line of text on odd-numbered pages" (page 239)
l "Determine the proper page to print based on the width of the data in the data page" (page 239)
In this section you will be able to answer the following questions:
l "Assumed Knowledge" (page 215)
l "PlanetPress Talk" (page 215)
l "PlanetPress Talk Terminology" (page 217)
l "The Elements of PlanetPress Talk" (page 217)
l "PlanetPress Talk Syntax" (page 218)
l "Data Types" (page 220)
l "Variables" (page 222)
l "Runpage" (page 230)
l "Using Foreign Language Text with PPtalk" (page 230)
Assumed Knowledge
What background does the Planet Press Talk Reference assume?
ThePlanetPress Talk Language Reference does not provide information on the art and science of computer pro-
gramming. It assumes readers already have a solid grasp of programming concepts and techniques.
PlanetPress Talk
PlanetPress Talk is a complete scripting language that opens the door to more powerful and sophisticated documents.
This section introduces the PlanetPress Talk scripting language, describes where and how you can enter PlanetPress Talk
code in PlanetPress, explains its syntax and each of its elements, and offers some tips and tricks for writing PlanetPress Talk
scripts.
In this section, you learn to:
l "Learning PlanetPress Talk" (page 216)
l "Integrate PlanetPress Talk into Documents" (page 235)
l "Define and Assign Values to Variables" (page 235)
l "Select Data" (page 236)
©2010 Objectif Lune Inc - 215 -