Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EVALUATE not support null parameter
Message
 
To
22/10/2003 10:01:26
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00841002
Message ID:
00841410
Views:
24
Fabio,

From the VFP help
QUOTE
Evaluates a character expression and returns the result.
EVALUATE(cExpression)
UNQUOTE

As NULL is not an expression, you cannot evaluate it, thus you get an error as desirable, expactable and preventable.
You may want to try EVALUATE("NULL") which is a character expression with the NULL value. This returns NULL.

HTH



>Hi Martin,
>
>>Of course. Evaluate takes a string parameter.
>
>But x is a null string.
>
>Fabio
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform