Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Big Problem with simple code
Message
De
07/09/2005 19:27:38
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01047265
Message ID:
01047559
Vues:
6
>>Craig, Pardon me,
>>for completeness:
>>SET ANSI ON is equal to "=="
>>but
>>SET EXACT ON is not eqaul to "=="
>
>Hi Fabio,
>
>Yes, you are technically correct. However, Torrey is not using any SQL Commands in the example of the problem. So, I felt that Set Exact On was appropriate. It is definitely important that Visual FoxPro developers understand the difference between Set Exact On and Set Ansi on... I appreciate you bringing this into the discussion.

I write this because you put "==" into the discussion.

Here the VFP shows the best of it:
* SET EXACT is XBASE setting
* SET ANSI  is SQL setting

* relation
"SQL =="        is equal to "SET ANSI ON" 
"SET ANSI ON"   is equal to "SET EXACT ON"                             

Then "SET EXACT ON" is equal to "SQL =="
but  "SET EXACT ON" is not equal to "XBASE =="
I would have preferred:
=   SET  OFF = short match
==  SET  ON  = without trailing blank match
===            fully match
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform