Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining whether an object exists.
Message
 
À
05/09/1998 00:40:56
David Turnedge
Turnedge Associates
Sydney, Australie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00133547
Message ID:
00133569
Vues:
10
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform