Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Non-empty string vs. empty string
Message
 
 
À
18/02/2009 16:32:54
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:
01382766
Vues:
50
Hi Graig,

I provide detailed explanation in the article I pointed Jos to . Unfortunately your explanation is incorrect.

>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?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform