Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question on Empty()
Message
De
03/08/2000 09:50:07
 
 
À
03/08/2000 09:34:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00400312
Message ID:
00400322
Vues:
19
>Hi everybody,
>
>
>Can somebody can tell my why this statement returns .F. when the value is 0.00? I tough that EMPTY would return .T. when the value is null or 0
>

Not true, for a numeric, ISNULL() is not the same as EMPTY(). Try the following:

x = 1
? EMPTY(x), ISNULL(x)
x= NULL
? EMPTY(x), ISNULL(x)
x = 0
? EMPTY(x), ISNULL(x)
x = NULL
? EMPTY(x), ISNULL(x)
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform