Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Testing a objects existence
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00366567
Message ID:
00366573
Views:
20
>Hello All
>
>Does anyone know how to test for the existence of a object?
>
>Thanks for any help
>Stephen McLaughlin
>"Blastmaster"
>stephenmclaughlin@email.com

poSplash = NEWOBJECT('c40splash','c40baseforms.vcx', '', pcAppName)
IF VARTYPE(poSplash) = "O"
* OK as an object
ELSE
* not an object
ENDIF
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Previous
Reply
Map
View

Click here to load this message in the networking platform