Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Please confirm this for me - CLOSE ALL
Message
From
11/03/2005 17:32:24
 
 
To
11/03/2005 17:25:30
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00995029
Message ID:
00995051
Views:
12
>>>>Hello all.
>>>>
>>>>I been do foxpro for years now and I just discover something.
>>>>I never knew "CLOSE ALL" statement affects "SET CLASSLIB..." statement.
>>>>
>>>>Is this true?
>>>
>>>CLOSE ALL or CLEAR ALL are both quite drastic - closing a lot of things - and should never be used, except close to the very beginning and very end of an application.
>>
>>So you agree.
>>
>>I never thought it wiped out "set classlib to ..." statement tho.
>
>I never gave much thought about what command does what - I used the combination CLOSE ALL / CLEAR ALL to get a "clean slate". I would expect this combination to clear almost everything, including a SET CLASSLIB. But from the list of functions each command performs, it would seem more logical for CLEAR ALL to clear the classlib, and not CLOSE ALL

I learned this the hard way... all afternoon.
Work as if you don't need money
Love as if you've never been hurt before
Live as if this is your last day to live
Dance as if no one's watching
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform