Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting of exact
Message
De
07/09/2001 18:40:40
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00554081
Message ID:
00554153
Vues:
10
>Situation: datbase='1VS', set exact =off
>
>in my form I test for [if datbase='1'] and it is .F. but I susp and test it manually at the command prompt and it evaluates to .T. .
>How can this be possible? I now have to say [[if datbase='1VS'] instead.

In addition to JCF's comments, you can use "==" to force an exact comparison where needed, regardless of the setting of SET EXACT. According to the docs it is not Rushmore optimizable, however.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform