Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why don't I see cleanup class?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00671062
Message ID:
00671089
Views:
14
I know that, but where is the real big advantage of it? :) (except "this is done OOP way").

>Well, the main idea would be to instantiate class in the beginning of the program and release it at the end. So you can change all settings, you want, in the middle.
>
>But, I'm like you and usually use the first approach...
>
>>I personally do not see very big advantages in having the class for such cases. Those 3 lines are clear and self-sufficient. You will replace them with two lines. What's the big deal? :)
>>
>>>Every time I see code written by someone else I always see things like:
>>>
>>>Procedure ??
>>>  lcTalk = Set('Talk')
>>>  Set Talk Off
>>>  .........
>>>  Set Talk &lcTalk
>>>EndProc
>>>
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform