7.4

Table Of Contents
View or Edit the Properties of a Global Condition
To view or edit properties using the Object Inspector:
l Select the global condition in the Structure area.
To view or edit properties using the Condition properties dialog box:
1. Double-click the global condition in the Structure area.
2. Enter any edits you want to make to the global condition.
3. Click OK.
Apply or Remove a Global Condition
To apply a global condition to a page, object or group:
l In the Structure area, drag the global condition to the page, object, or group in the Structure area to which you want
to apply it, and release.
The condition indicator appears in 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).
Box object with a condition set on it
To remove an applied global condition:
l Select the page, object, or group from which you want to remove the applied global condition, and then, in the Object
Inspector, locate the Condition property. Highlight the contents of the Condition property and press BACKSPACE to
clear the property.
Use a Global Condition as a Variable
To use a global condition as a variable:
l Place an ampersand before the first character of the condition name. For example, the following line of PlanetPress
Talk code references the condition backordered as a global variable:
show(if(&backordered,'Out of stock',''))
When the condition evaluates to True, the line “Out of stock” prints; when it evaluates to False, nothing prints.
Combine Global Conditions
You can use either the Condition properties dialog box or the Object Inspector to combine global conditions. When you com-
bine conditions, it is important to understand the significance of the position in which a condition appears in the Structure area.
The position of a condition in the Structure area both determines the conditions with which you can combine it, and limits how
you can move it in the Structure area. More precisely, you can combine a condition only with conditions that appear above it,
and you cannot move a condition above any condition it references.
You combine conditions by creating a valid Boolean expression that references conditions as variables. You construct the
expression using Boolean logic, and the four Boolean operators: AND, OR, NOT, ().
Operator Description Example
AND Operates on two conditions. The result is True only if BOTH conditions are True.
&red AND &round
OR
Operates on two conditions. The result is True if EITHER condition is True or BOTH conditions are
&blue OR
Conditions
©2010 Objectif Lune Inc - 192 -