Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VARTYPE vs TYPE with Parent property
Message
 
 
To
25/07/2002 16:11:22
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00682266
Message ID:
00682754
Views:
30
>Hi Nancy,
>
>>For objects, one should be careful about checking just whether their type is "O". It's safer to check a property, say "Name", if it will have one, or add !ISNULL() to the check.
>
>I've heard this before, but don't remember why it makes a difference. Could you enlighten me?
>
>TIA

The property type could be "O" for property value of Null which means that property doesn't reference any object.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform