Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add Property/Remove Property
Message
 
 
À
28/08/2000 11:52:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00409792
Message ID:
00409952
Vues:
22
>Thanks for answering.
>
>
>
>I'm trying to create a global object that I'll add properties to. I'll use these properties instead to global variables. I'm currently updating an old system....well only half of it...and i dont want to mix variables in the old half with the new half.
>
>
>Thanks
>Carl

Carl,
In cases like this I would recommend using a temporary object for your temporary properties. Create a property of your global object that will hold another object. Use AddProperty on this object to add your temporary properties. When you are done with it, release the temp object and set the global object's holder property to .NULL. for garbage collection.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform