Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need Clarification of the ! or .NOT. operators
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00778163
Message ID:
00778169
Vues:
32
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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform