Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining whether an object exists.
Message
From
06/09/1998 11:19:28
 
 
To
06/09/1998 07:33:32
David Turnedge
Turnedge Associates
Sydney, Australia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00133547
Message ID:
00133665
Views:
13
David...

No. TYPE("oMyObject") = "U" if the object is undefined. Glad the problem is resolved.

>>>
>TYPE("oMyObject") = "O" <------ IS this an object?
><<
>
>Won't this throw an error in my code during runtime if "oMyObject" doesn't exist at all?
>
>I think AINSTANCE will do it for me... Thanks!
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform