7.0

Table Of Contents
Global variables available: Select the global variable you want to use as the replacement reference.
When you delete the global variable, PlanetPress Design replaces all references to the deleted global
variable with a reference to the global variable you select here. You can use the Global Variables button
to create a new global variable to add to this box.
Global Variables button: Click to create a new global variable. PlanetPress Design creates the new
global variable, and selects it in the Global variables available box.
Delete all elements: Select to delete the global variable, and all document elements that reference it.
All document elements that reference this global variable appear in the list on the right of the Global
Variable Deletion dialog box.
2. Click OK.
18.2.12 Combine Global Conditions
You can use either the Condition properties dialog box or the Object Inspector to combine global conditions.
When you combine 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 True.
&blue OR
&square
NOT Operates on a single condition. The result is the inverse of the condition.
NOT
(&over_50)
() Assigns the highest precedence to its contents. See below for an explanation
of precedence rules.
The expressions you create using these operators can be either simple or complex. For example:
&red OR &blue
&over_50 AND &under_300 AND NOT (&red) AND &round
(NOT (&red OR &blue)) AND (&big OR (&round AND &tin))
Precedence rules determine the order in which PlanetPress Design evaluates the expression. The final result of
an evaluation can depend on the precedence rules. For example, consider that you want a line item on an
invoice to print only if the part number is greater than 50, and the part is either red or round. You write:
&over_50 AND &red OR &round
Depending on the precedence rules, this could also mean print the line item only if both the part number is
greater than 50 AND the part is red, or the part is round. In the latter case, line items for parts that are round
print, regardless of whether their part number is greater than 50.
Conditions - Detailed Directions
Objectif Lune Inc. © 2009 291