Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining existence of an object
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00251780
Message ID:
00251910
Views:
11
>It was my understanding that VARTYPE would only pass an 'O' if the variable was a living object. If VARTYPE were to classify a dead object it would return an 'X' because the variable was NULL.
>
>Glenn
Glenn,

That is incorrect as NULL always has a data type and that type will be O if the variable was previously and object. Assigning NULL to a variable does not render the variable released, the variable still exists and has a value of NULL with a data type of what it was before NULL was assigned. See my other post on this thread for an example.
Previous
Reply
Map
View

Click here to load this message in the networking platform