Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
EMPTY() Bug - Review
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
EMPTY() Bug - Review
Divers
Thread ID:
00899617
Message ID:
00899617
Vues:
58
Hi I just had a look at this bug, and wanted to warn again:

Try:

clear
local a, b, c, d,x
a= -1
b= -0.1
c= 1
d= 0.1
x= a+b+c+d
? empty(x) &&The Value should be empty... but FoxPro tells us it isn't
? x=0 &&This should also deliver a ".f." but it gives us a .t. which is correct

That means...

Be sure not to use empty with unrounded Numeric Values -or-
don't use empty()

Greetings
Marvin Blase (tA-logistic Software GmbH)
You'll never notice the good things if you haven't seen the bad.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform