7.5

Table Of Contents
l Select the page, object, or group for which you want to create the condition. In the Object Inspector, locate the Con-
dition property and enter the PlanetPress Talk expression that defines the local condition.
The condition indicator appears on the upper-left corner of the page, object, or group symbol in the Structure area. The
color of the indicator reflects the current value of the condition (green indicates True; red indicates False).
To edit a local condition:
l Select the page, object, or group whose local condition you want to edit. In the Object Inspector, locate the Condition
property and edit the PlanetPress Talk expression that defines the local condition.
To delete a local condition:
l Select the page, object, or group whose local condition you want to delete. In the Object Inspector, locate the Condition
property and either highlight its contents and press BACKSPACE, or select an existing global condition with which you
want to replace the local condition.
If the element no longer has a condition associated with it, PlanetPress Design removes the condition indicator from its
symbol in the Structure area.
Verify a Condition
To verify a global condition:
1. In the Conditions area of the Structure area, locate the global condition you want to verify.
2. Navigate through the sample data file.
To verify a local condition:
1. In the Structure area, locate the page, object, or group whose local condition you want to verify.
The color of the condition indicator on the upper-left corner of the page, object, or group symbol in the Structure area
reflects the current value of the condition. The indicator appears in green when the condition is True and in red when
the condition is False.
2. Navigate through the sample data file.
The color of the condition indicator updates to reflect the value of the local condition on the current data page.
Add a Global Function
To add a global function:
1. Choose Home | Document | Global Function.
2. In the Structure area, double-click the new global function, or select it and press ENTER.
3. Replace the default name, @GlobalFunction1, with a name that reflects the purpose of the global function. Note that
the initial @ character is part of the name of the function. If you omit it when you call the function from a PlanetPress
Talk script, the script produces a syntax error.
4. Enter the code for the new global function.
The function you define may or may not return a value. If it does return a value, you must assign the return value to the
predefined variable &result on the last line of the function definition (the line that immediately precedes the end-
function() line).
You use the @name() command to subsequently call the function you define. Consult the PlanetPress Talk Lan-
guage Reference for further help with this and any other command you want to use within the global function.
5. Click OK.
View or Edit a Global Function
To view or edit a global function:
Conditions
©2010 Objectif Lune Inc - 196 -