At 17:56 26.11.2000 -0500, you wrote:
>While reflecting on the matter of deleting objects from the
>timeoutList, I posed this question to myself: what if I wanted
>to delete a subset of items from a list in the case I knew
>their position _prior_ to having them deleted?
>E.g. I want to delete the items number 3, 5, 8 from a list
>of 10 items. Once the item 3 has been deleted, the item 5 became
>4 and the item 8 became 7.

<snip a long startmovie handler and a short tool handler>

Another way to avoid that sort of problems would be to perform the series 
of deletions in back-to-front order; i.e. first delete item 8, next item 5 
and in the end item 3. Lingo supports this approach with the

repeat with variable = startValue down to endValue

syntax.

Best regards

daniel plaenitz
http://www.lingo.de/





[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