Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wishlist???
Message
De
06/09/1999 21:36:13
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00260725
Message ID:
00261829
Vues:
47
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform