Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can this be?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00810352
Message ID:
00810429
Views:
13
Timothy,

AND has a higher precedence than OR, just like * is higher precedence than +. So you need parens in boolean expressions just like you do in algebraic expressions.

A and B or C - evaluates A and B first, then ORs that result with C. If you want the OR to be evaluated first you need parens:

A and ( B or C )

>ah ha, When the line is put alltogether, it becomes one long filter and "(" become necessary. Right? I see now.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform