Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Non-empty string vs. empty string
Message
 
 
À
18/02/2009 12:26:20
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:
01382682
Vues:
64
This message has been marked as a message which has helped to the initial question of the thread.
>
>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.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform