Re: Snippet to remove an item from a list
Re: Snippet to remove an item from a list
- Subject: Re: Snippet to remove an item from a list
- From: Arthur J Knapp <email@hidden>
- Date: Tue, 10 Jul 2001 10:01:46 -0400
>
Date: Mon, 9 Jul 2001 15:32:57 -0400
>
From: Victor Yee <email@hidden>
>
Subject: Re: Snippet to remove an item from a list
>
On Mon, 09 Jul 2001 10:24:25 -0400, Arthur J Knapp wrote,
>
>
> This repeat loop is the "programatic" way to do this, but in
>
> vanilla AppleScript, it can be quite slow.
>
> Here is the more traditional AppleScript technique:
>
>
>
> on DeleteAt(lst, x)
>
That's the way I was doing it before... so much for left-wise thinking :(
I'm sorry, Victor, I wasn't attempting to supress left-wise thinking.
I was just thinking in the same terms as Jeff Baumann, that the technique
that you proposed was slower than other list methods discussed on the
list before.
Your technique had the advantage of using AppleScript references, which
need to be better explored and utilized by us scripters.
>
Guess I forgot my towel (whatever that means ;)
Has no one read the Hitchhicker's Guide to the Galaxy?
;-)
Arthur J. Knapp
http://www.stellarvisions.com
mailto:email@hidden
Hey, check out:
http://www.AppleScriptSourceBook.com