Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question on Empty()
Message
From
03/08/2000 09:50:07
 
 
To
03/08/2000 09:34:18
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00400312
Message ID:
00400322
Views:
18
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform