Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why don't I see cleanup class?
Message
 
 
À
21/06/2002 12:42:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00671062
Message ID:
00671225
Vues:
16
Bill,

I created a single SET management class while I was writing the PTF OOP book and included the code in there, because it seemed like a good thing to do...

I've never used it...

With the advent of Private DataSession forms, my Form class sets the values the way they should be and I don't even have to worry about restoring anything, because they are DS scoped.

I rarely write code anymore that needs to do save/change/restore a SETting, so I've just never ended up using the class.

>The advantage is: you don't have to remember to cleanup. When the procedure/method ends, the variable goes out of scope and the destroy() cleans up for you.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform