• 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: Getting elements of a list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting elements of a list


  • Subject: Re: Getting elements of a list
  • From: Skeeve <email@hidden>
  • Date: Sat, 19 Apr 2008 17:19:53 +0200

Ed Stockly wrote:

On Apr 19, 2008, at 7:38 AM, Skeeve wrote:

Mark J. Reed wrote:

I prefer this line:

    tell theList to set {item 1, item 2} to {item 2, item 1}

Offtopic: I prefer:

a^=b^=a^=b

to exchange two variable's content...

;-)


That script is not exchanging two variable' s content. It's changing position of two items in a list.

Guess what "Offtopic" means.

Keiner mag Klugscheißer...

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Re: Getting elements of a list (From: "Stockly, Ed" <email@hidden>)
 >Re: Getting elements of a list (From: "Mark J. Reed" <email@hidden>)
 >Re: Getting elements of a list (From: Skeeve <email@hidden>)
 >Re: Getting elements of a list (From: Ed Stockly <email@hidden>)

  • Prev by Date: Re: Getting elements of a list
  • Next by Date: Re: Getting elements of a list
  • Previous by thread: Re: Getting elements of a list
  • Next by thread: Re: Getting elements of a list
  • Index(es):
    • Date
    • Thread