Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wishlist???
Message
From
06/09/1999 21:36:13
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00260725
Message ID:
00261829
Views:
49
>You miss my point which is simply that RELEASE MyVar should release MyVar and nothing else.
>

OK... sorry that I jumped in in the middle here, but doesn't

RELEASE MyVar

only release MyVar?

Of course, the consequences of that action, if MyVar is the one and only reference to an object, the object is released also.

I also agree... we should be able to release an object no matter how many references there are to it... so... perhaps...

RELEASE MyVar && releases the variable
MyVar.Release() && releases the object

The above, seems right... however, I also think that MyVar.Release should release an object even if there are references to it. I think this is as it is supposed to be, but a major cause of bugs... since, the object doesn't really release.

BOb
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform