Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EMPTY() Bug - Review
Message
From
30/04/2004 08:07:44
 
 
To
30/04/2004 07:52:59
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00899617
Message ID:
00899680
Views:
21

Fabio, I think test for empty() on numeric variable does not make sense unless variable has not been set, in which case isnull() would be better test. There is no empty numeric in the same way as an empty string, In my opinion. All numeric values have meaning, none are empty. Confusion rules :)


I agree with you: NULL, ISNULL() NVL() COALESCE() are much more they are corrected.

But VFP is old, and many developers still today have fear of the NULL.
LOCAL x && i want NULL, without a datatype, but VFP fill x with a empty .F. logical value
Therefore it is VFP and therefore it will remain until its end.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform