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

Click here to load this message in the networking platform