Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What to use, SET EXACT ON or ==?
Message
De
16/02/2007 19:53:13
Neil Mc Donald
Cencom Systems P/L
The Sun, Australie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01196479
Message ID:
01196758
Vues:
14
Hi,
I have recently done some performance testing on large datasets in VFP9, as result we are now using SET EXACT ON & SET ANSI ON and not using "==" as it does have a perceivable impact on performance when processing large amounts of data.

>Good Friday Morning to All,
>
>I ran into a problem using <> operator where the following happens:
>
>cTest1 = "This is a sample string"
>cTest2 = "This is a sample string test"
>? cTest2 <> cTest1  && returns .F.
>
>
>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?
>
>Thank you.
Regards N Mc Donald
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform