Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What to use, SET EXACT ON or ==?
Message
De
16/02/2007 12:09:09
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01196479
Message ID:
01196621
Vues:
12
Now I am thinking if I should do away with using <> operator because it always relies on SET EXACT ON and just use "==" in ALL my comparisons. What do you think?

Changing the setting of EXACT is a global solution to a local problem - never a good idea.

? cTest2 <> cTest1 && returns .F.

How about re-thinking it like this:

? NOT ( cTest1 == cTest2 )
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform