Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Localization fun
Message
 
To
18/03/2013 11:45:19
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows NT
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01568705
Message ID:
01568708
Views:
56
Thanks Craig.

I checked again. I think the Belgian result is as expected. In http://msdn.microsoft.com/en-us/library/kf2c7kaz(v=vs.80).aspx it says that "To match the length of the longer expression, the shorter of the two expressions is padded to the right with spaces or zero (0) bytes. However, any trailing spaces or zero bytes in the expressions are disregarded in the comparison.", which should make " " and "" equal. So why doesn't tht work in Shanghai? My money is on keyboard drivers.

Anyway, you're right. I'd better change the code, but was hoping to find the reason, because god knows how much times we used this blasphematory construction :)

>Then you don't have EXACT ON.
>
>I never rely on EXACT setting. Too easy to get it wrong. Use == when you want an exact match and = when you don't.
>
>>on my belgian system I have set("exact") = "on" and ? (" " = "") returns true. In shanghai same exact setting but ? (" "="") returns false.
>>
>>... and I did pinch myself :).
>>
>>
>>What gives?

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform