7.5

Table Of Contents
Breakpoint (procedure)
Stops the execution of a PlanetPress Talk object when the specified expression is True. This breakpoint is effective only when
running in debug mode in the PlanetPress Talk editor.
Syntax
breakpoint( expression1 )
Argument
expression1
Boolean value.
Code Sample Example
This example sets up a loop, stops the loop on its 5th iteration, and then displays the value.
Example
define(&x,integer,1)for(&x,1,1,10)
breakpoint(&x = 5)
show(inttostr(&x))
endfor()
CallPPD (procedure)
Calls a section of the PostScript Printer Description (PPD) file and executes it on the printer. Use this to set printer options such
as the input tray or duplexing options. The tokens and subtokens you use as arguments with this function must be defined in
the PPD file associated with your document or page in the document’s or page’s Basic Attributes. PlanetPress searches the PPD
file for the token-subtoken combination and then prompts the printer to execute the corresponding code.
Syntax
callppd( token, subtoken )
Arguments
token
This is the string to search for in the PPD file (for example, Duplex).
subtoken
This is string to search for that is a setting for the token (for example, None).
Example
if((&Condition1) or (&Condition2))
callppd("Tray", "2")
elseif()
if((&Condition3) or (&Condition4))
callppd("Tray", "3")
elseif()
©2010 Objectif Lune Inc - 412 -