Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Non-empty string vs. empty string
Message
From
18/02/2009 13:23:57
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01382676
Message ID:
01382702
Views:
45
>>
>>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.

Thanks Sergey.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform