• 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: Deleting last item of a List
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deleting last item of a List


  • Subject: Re: Deleting last item of a List
  • From: Paul Berkowitz <email@hidden>
  • Date: Sat, 20 Nov 2004 06:56:52 -0800

On 11/20/04 5:47 AM, "Nigel Garvey" <email@hidden>
wrote:

> The "insertion point" idea is helpful though. Items can be inserted at
> two points in a list: the beginning and the end. Strings don't have any
> insertion points, so referring to one of them would cause an error.  ;-)
>
> Presumably, with a list, it's quicker to locate the element at or next to
> the 'end' insertion point than it is to identify the last of the list's
> "items".

As I recall, insertion, and the speed of it, is connected to the description
we've been given a few times of vectors vs. linked lists. As best I recall -
and I may be getting something wrong here - the original lists in
AppleScript 1.0 were linked lists. These are the ones you can still get
using [square brackets]. By AS 1.1 or so the default list type was changed
to vectors. I could try to describe what I hazily recall about the
difference between them, but I'm sure I'd get something wrong. Perhaps
someone who kept records of those discussions could remind us.

--
Paul Berkowitz


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Deleting last item of a List (From: Nigel Garvey <email@hidden>)

  • Prev by Date: Re: Deleting last item of a List
  • Next by Date: Re: Deleting last item of a List
  • Previous by thread: Re: Deleting last item of a List
  • Next by thread: Re: Deleting last item of a List
  • Index(es):
    • Date
    • Thread