Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Localization fun
Message
 
À
18/03/2013 11:45:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows NT
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01568705
Message ID:
01568708
Vues:
55
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform