Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wiping out (data)Session object
Message
 
 
To
26/05/2008 13:14:39
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01319497
Message ID:
01319626
Views:
13
>>>
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform