Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is VFP9 Help on Set Ansi wrong or what?
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Is VFP9 Help on Set Ansi wrong or what?
Divers
Thread ID:
01014326
Message ID:
01014326
Vues:
51
Check out VFP9 (and maybe in previous versions) Help for Set Ansi and you get a section that sez this:

***********************************
In the following example, when SET ANSI is set to ON, the result is False (.F.) because when padded, 'Tom' becomes 'Tom ', and the strings 'Tom ' and 'Tommy' do not match character for character:

Copy Code
'Tommy' = 'Tom'


The == operator uses this method for comparisons in Visual FoxPro SQL commands.

In the following example, when SET ANSI is set to ON, the result is True (.T.) because the comparison stops after 'Tom':

Copy Code
'Tommy' = 'Tom'
***********************************

Is this, like, really bad documentation or what? Or am I just plain dumb?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform