7.0

Table Of Contents
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.
Related topics:
Conditions (Page 276)
Global Conditions (Page 276)
Local Conditions (Page 277)
Line Conditions (Page 277)
Create a Global Condition (Page 285)
Apply or Remove a Global Condition (Page 287)
Use a Global Condition as a Variable (Page 288)
Delete a Global Condition (Page 294)
Combine Global Conditions (Page 291)
Override a Global Condition (Page 293)
Create, Edit, or Delete Local Conditions (Page 295)
Create or Remove a Line Condition (Page 296)
Enter a PlanetPress Talk Expression in a Text Box (Page 280)
18.2.18 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 endfunction() line).
You use the @name() command to subsequently call the function you define. Consult the PlanetPress
Talk Language Reference for further help with this and any other command you want to use within
the global function.
5. Click OK.
18.2.19 View or Edit a Global Function
To view or edit a global function:
1. In the Structure area, double-click the global function.
2. Use the PlanetPress Talk Editor to edit the properties of the global function, if necessary.
3. Click OK.
If you made a modification that may cause execution problems in the document, PlanetPress Design
reports an error in the Messages area.
If you made a modification that may cause execution problems in the document , PlanetPress Design
requests confirmation before proceeding with the modification.
Conditions - Detailed Directions
Objectif Lune Inc. © 2009 298