Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vartype() type works different for hyperlink?
Message
From
08/07/2003 13:16:58
 
 
To
08/07/2003 12:16:36
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00807623
Message ID:
00808104
Views:
25
Hey Trace,

Laughing at my expense? :P

Besides the examples discussed in this thread--trying to check for a non-existant property of an object--where does vartype() cause an error? Perhaps you were checking for the property (using vartype()) without making sure the object existed first?

>I had to giggle here Steve. I had vartype all over an app too because I KNEW where the vars existed and where they didn't. That is, until new programmers brought onboard started releasing my variables where they shouldn't be and WHAM! no variable existed anylonger where it should have. Just to be safe, I switched them all to TYPE()instead. Crazy, but hey, I won't get that error anymore! :o)
>
>
Steve Gibson
Previous
Reply
Map
View

Click here to load this message in the networking platform