Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vartype() type works different for hyperlink?
Message
From
07/07/2003 18:57:32
 
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00807623
Message ID:
00807733
Views:
25
>No, don't use VARTYPE() to check for properties on an object that you don't know for sure exists. Besides, that's what PEMSTATUS() is for, once you know the object exists or not.

Fred,

I understand that...

Sergey said (notice he said *variable*/property):

>Yes, you should avoid using VARTYPE() if variable/property may not exists.

Then the poster further generalized the question:

>Vartype() can return 'U'. So when is it proper to use Vartype() and have it return 'U'?

To which Sergey replied:

>Never.
>
Steve Gibson
Previous
Reply
Map
View

Click here to load this message in the networking platform