Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Verifying for upper
Message
 
To
21/11/2001 14:19:04
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00584529
Message ID:
00584648
Views:
22
>>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform