Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why don't I see cleanup class?
Message
 
 
To
21/06/2002 12:42:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00671062
Message ID:
00671225
Views:
15
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform