7.1

Table Of Contents
PlanetPress Talk Basics
In this section, you learn to:
l "Learning PlanetPress Talk" (page 212)
l "Integrate PlanetPress Talk into Documents" (page 231)
l "Define and Assign Values to Variables" (page 231)
l "Select Data" (page 232)
l "Use Functions as Arguments" (page 232)
l "Debug Scripts" (page 232)
l "Tips and Tricks" (page 232)
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 233)
l "Store two lines of input data on one line of the data page" (page 234)
l "Print a page n-up" (page n)
l "Print a line of text on odd-numbered pages" (page 235)
l "Determine the proper page to print based on the width of the data in the data page" (page 235)
In this section you will be able to answer the following questions:
l "Assumed Knowledge" (page 211)
l "PlanetPress Talk" (page 211)
l "PlanetPress Talk Terminology" (page 213)
l "The Elements of PlanetPress Talk" (page 213)
l "PlanetPress Talk Syntax" (page 214)
l "Data Types" (page 216)
l "Variables" (page 218)
l "Runpage" (page 226)
l "Using Foreign Language Text with PPtalk" (page 226)
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 212)
l "Integrate PlanetPress Talk into Documents" (page 231)
l "Define and Assign Values to Variables" (page 231)
l "Select Data" (page 232)
©2010 Objectif Lune Inc - 211 -