Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining whether an object exists.
Message
 
 
To
05/09/1998 00:40:56
David Turnedge
Turnedge Associates
Sydney, Australia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00133547
Message ID:
00133569
Views:
11
Hi David....

Check out the Ainstance() function. To illustrate, lets say you want to know if an instance - or a number of instances fo the clsMyObjectClass class exists:

Ainstance(ainstancearray,"clsMyObjectClass")

An array - ainstancearray will be created that will hold the name of the variables that reference instances of the class.

An alternative method is to use a class that is responsible for instancing other classes.
Previous
Reply
Map
View

Click here to load this message in the networking platform