Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Empty() vs 2 quotes
Message
 
 
To
18/10/2011 21:09:38
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01526798
Message ID:
01526851
Views:
86
>Moises,
>
>Empty is safe to use for this purpose as it will only be true for values with 0 length or all spaces.
>
>="" may be a problem, since it can be true every time depending on your set exact settings.

One reason I prefer == to = unless I am intentionally trying to find partial matches.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform