• 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: "Shane Stanley" <email@hidden>
  • Date: Fri, 19 Nov 2004 16:42:51 +1100

On Thu, 18 Nov 2004 21:22:01 -0800, Paul Berkowitz wrote:

>> Set theList to reverse of theList
>> Set theList to the rest of theList
>> Set theList to reverse of theList
>
>
>or
>
>set theList to items 1 thru ((count theList) - 1) of theList

or

set theList to items 1 thru -2 of theList


--
Shane Stanley  <email@hidden>


 _______________________________________________
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: Paul Berkowitz <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