Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wishlist???
Message
 
To
06/09/1999 11:15:50
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00260725
Message ID:
00261752
Views:
63
>>>As regards breaking existing code I have two things to say:
>>1) The VFP team didn't appear too worried about this when they changed the ERROR return information between V3 and V5. Or they felt they had no choice. Could end up the same here. Sh** happens sometimes.
Jim,

I totally disagree with your obervations regarding the RELEASE command. The RELEASE command releases a memory variable (as well as other things). It is not supposed to release an object unless the variable is the last reference to the object. In OO one should not be concerned with what other objects are doing when writing the code in an object. If I decide to release a variable in one object's method it should have no effect whatsoever on any other variable in any other object. Depending on the fact that it has no effect on other variables is not doing something wrong, it is depending on the designed behavior of the release command to only affect the variables explicitly listed on its command line.

The release method is another story since it is the object itself that is doing the releasing. However, I don't have any problems with dangling references. Probably because the objects clean up after themselves and there aren't a load of references floating around.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform