• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Snippet to remove an item from a list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: scriptable installers
  • Next by Date: Re: Three simple FMP questions
  • Previous by thread: Re: Snippet to remove an item from a list
  • Next by thread: Re: Snippet to remove an item from a list
  • Index(es):
    • Date
    • Thread