Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wiping out (data)Session object
Message
 
 
À
26/05/2008 13:14:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01319497
Message ID:
01319626
Vues:
15
>>>
>>Calling Destroy() method directly (or release method directly) works?
>>
>>E.g. array[i].Destroy()
>> array[i] = null
>>
>>?
>__
>Calling Destroy() will not work, I assume.
>
>One possibility is to subclass Session, add a release method and call that - that may work - not tested
>
>
>define class MySession as Session
>
>function Release()
>  release m.this
>endfunc
>enddefine
>
I would not have thought to use m.this. What is that exactly? Obviously it's a memvar pointing to the object, I just didn't know one was created automatically.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform