At 17:27 +0900 20/09/01, Fumio Nonaka wrote:
>?I tried to set the timeOut's parameter to 0. But without setting the
>target to void the error is showing. Director 8.5/Windows98SE.
Here is test... perhaps not the most transparent test, but if you
watch it closely, you will notice that the refCount of "me", drops
immediately as the timeoutObject is voided, without first voiding the
target.
So in my case there does not seem to be an error, unless the error is
something else?
MacOS 9.1, D8 ( Is this a platform thing?)
on exitFrame me
put me
t = timeOut(me.string).new(0, #mTimeout, me)
put t, t.target
t.forget()
put t, t.target
put me
t = VOID
put me
end
-- Welcome to Director --
-- <offspring "testBhv" 4 d145c70>
-- timeOut("<offspring "testBhv" 6 d145c70>") <offspring "testBhv" 5 d145c70>
-- timeOut("<offspring "testBhv" 6 d145c70>") <offspring "testBhv" 5 d145c70>
-- <offspring "testBhv" 5 d145c70>
-- <offspring "testBhv" 4 d145c70>
Jakob
[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!]