Franco:
Your mode = 1 code is deleting from the list, so when your halfway
through there are only 50 items in the list. Index of 51 gives error.
To see it in action , try this:
repeat with i = 1 to cnt
put i
(the timeoutList[i]).forget()
put the timeoutList.count()-- Decrements to 50 then, ERROR
end repeat
Phil White
the Technoid Group
------------------
>From: Franco Chierchini <[EMAIL PROTECTED]>
>Subject: <lingo-l> timeoutList[i] out of range for i > 50 (..?)
>
>I keep getting a quite strange error in Dir 8 if I attempt to
>access the 51th timer object stored in the timeoutList,
>that's, for i = 51:
>"Index out of range (the timeoutList[i]).forget()"
Visit our website at http://www.ubswarburg.com
This message contains confidential information and is intended only
for the individual named. If you are not the named addressee you
should not disseminate, distribute or copy this e-mail. Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses. The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission. If
verification is required please request a hard-copy version. This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.
[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!]