Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
EMPTY() Bug - Review
Message
De
30/04/2004 08:07:44
 
 
À
30/04/2004 07:52:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00899617
Message ID:
00899680
Vues:
20

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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform