Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need Clarification of the ! or .NOT. operators
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00778163
Message ID:
00778169
Views:
31
Elgin,

Yes, they're logically equivalent.

>Sergey,
>
>Thank you again. I tried out both your examples. I'm sticking with the second one. I'm assuming the only difference between your two examples is readability, correct?
>
>>Elgin,
>>
>>It should be
     IF  !("PCB" $ UPPER(fluid)) ;
>>        AND !("PYRANOL" $ UPPER(fluid)) ;
>>        AND !("WECOSOL" $ UPPER(fluid))
>>* OR
>>     IF  NOT ( ("PCB" $ UPPER(fluid)) ;
>>        OR ("PYRANOL" $ UPPER(fluid)) ;
>>        OR ("WECOSOL" $ UPPER(fluid)))
>>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform