Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Non-empty string vs. empty string
Message
De
18/02/2009 13:23:57
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01382676
Message ID:
01382702
Vues:
44
>>
>>TA = "Some chars"
>>? TA > ""          
>>
>>
>>The above returns .F. Why? A non-empty string should surely be greater than an empty string?
>
>With SET EXACT OFF, anyhing on the left is '=' empty string on the right. See http://www.berezniker.com/content/pages/visual-foxpro/string-comparison-vfp for deatails.

Thanks Sergey.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform