Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Non-empty string vs. empty string
Message
 
 
To
18/02/2009 16:32:54
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01382676
Message ID:
01382766
Views:
51
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform