Parenthesis

<< Click to Display Table of Contents >>

Navigation:  Drawing Environment > Detailed command descriptions > QuickPDF > Main dialogue > Extended filter tab > Filter expressions >

Parenthesis

Previous pageReturn to chapter overviewNext page

If a filter expression contains more than two variables and parenthesis are note used, the operators will be processed from left to right.

 

AND and OR will have the same priority.

 

Parenthesis can be used to alter the priority in any desired way.

 

Parenthesis within parenthesis in any number of levels are allowed.

 

What is enclosed in parentheses will be processed first, before the entire enclosed expression is handled in the larger context in which it occurs.

 

Examples

1

V1&V2/V3

This is the same as (V1&V2)/V3.

 

V1&V2 is processed first. The result of that is then processed versus V3.

 

2

V1&(V2/V3)

V2/V3 is processed first. The result of that is then processed versus V1.

 

3

((V1/V3)&(V2/V4))/V5

V1/V3 is processed first and the result is kept for later use.

 

V2/V4 is then processed and the result is kept in the same way.

 

Next, the result of V1/V3 is processed versus the result of V2/V4. The result of that is then processed versus V5.