That's precisely what I was asking for - using local variables, not
property. AFAIK, Director cleans up local variables automatically when the
handler ends. So I would expect the refcount of the object to come down.
Does this really happen?

Pranav Negandhi
New Media Applications.
Learnet India Limited, Mumbai.
Phone: 91-22-859 8042 Ext: 410



<snip>
Yes you would - the local property would still be a ref to the global
object.

At least if you have property vRef

On Fri, 19 Oct 2001 [EMAIL PROTECTED] wrote:
...
> Taking Irv's example, suppose I use a local variable instead of a
property
> variable....
....would I still have vRef floating around as an
> orphan object in memory?
<snip>





[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to