Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Verifying for upper
Message
 
À
21/11/2001 14:19:04
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00584529
Message ID:
00584648
Vues:
23
>>>>IF lcStr = UPPER(lcStr )
>...
>>Use the double == for this test...
>>It will work on all SET EXACT settings.
>
>I think SET EXACT is irrelevant in this specific example, because the strings have the same length.
>
>I do agree that == is better, but for another reason: collation sequences.
>
>
>set collate to "general"
>? "abc" = "ABC" && .T.
>? "abc" == "ABC" && .F.
>
Thanks, you save the day! :-)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform