7.0

Table Of Contents
PlanetPress Design uses standard Boolean precedence rules:
Operator Precedence
() 1
AND 2
NOT 2
OR 3
Thus, the contents of parentheses are always evaluated first. If two operators in an expression have the same
precedence, they are evaluated left to right. Since parentheses have the highest precedence, you can override
the precedence of a lower-precedence operator by enclosing it in parentheses. In the following example,
although the OR operator has a lower precedence than the AND operator, the OR expression evaluates before
the AND expression because parentheses enclose the OR expression.
(&before_2002 OR &under_50) AND &over_300
Thus, to return to the earlier example, to print the line item only if the part number is greater than 50, and
the part is either red or round, you would rewrite the expression as:
&over_50 AND (&red OR &round)
To combine global conditions using the Condition properties dialog box:
1. In the Structure area, double-click the condition to open the Condition properties dialog box for the
condition with which you want to combine one or more existing conditions:
2. In the Condition properties dialog box, click Concatenation.
The name of the condition you are defining appears in the Completed condition box, and the names of
the conditions you can combine with it appear in the Conditions available for concatenation box.
3. Do one or more of the following to combine conditions into a valid Boolean expression. As you work,
PlanetPress Design reports any syntax errors in the Status area.
Conditions - Detailed Directions
Objectif Lune Inc. © 2009 292