Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Non-empty string vs. empty string
Message
De
18/02/2009 16:32:54
 
 
À
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:
01382760
Vues:
50
Hmm.. no one really explained what is happening....

When comparing strings in VFP, the comparison continues to the end of the string on the left, comparing character by character.


>
>TA = "Some chars"
>? TA > ""          
>
>
>The above returns .F. Why? A non-empty string should surely be greater than an empty string?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform