Progress
Report Builder
User’s Guide


Operator Precedence

Report Builder evaluates expressions in an order of precedence. Table C–1 lists the available operators in their order of precedence.

Table C–1: Operator Precedence
Precedence
Operator
Description
Sixth (highest)
Unary -
Treats following value as a negative
Unary +
Treats following value as a positive
Fifth
MODULO
Returns the remainder after division
/
Division
*
Multiplication
Fourth
+
Addition
-
Subtraction
+
Concatenation
-
Concatenation with trailing-space trimming
Third
MATCHES
Indicates that a character string matches a specified pattern
BEGINS
Indicates that a character string begins with a specified value
= or EQ
Equal to
<> or NE
Not equal to
> or GT
Greater than
>= or GE
Greater than or equal to
< or LT
Less than
<= or LE
Less than or equal to
Second
NOT
Logical NOT
AND
Logical AND
First (lowest)
OR
Logical OR


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095