Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting an empty value
Message
From
13/05/2008 15:34:57
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
13/05/2008 15:11:36
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01316738
Message ID:
01316756
Views:
10
>Is there a simple way (without having to check all the datatypes) to get the equivalent empty value for a variable. For example
>FOO(12) ------------> 0
>FOO("abcd") --------> ""
>FOO(DATE()) --------> { }
>FOO(DATETIME()) ----> { :}
>etc.
>
>I can write FOO if I need to. Just wondering if there is already a feature in the language.
>
>Thanks......Rich

If the data is in a field, you can use the BLANK command.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform