• 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: Arrays in AppleScript ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Arrays in AppleScript ?


  • Subject: Re: Arrays in AppleScript ?
  • From: Michael Gmail <email@hidden>
  • Date: Wed, 28 Dec 2005 12:55:53 -0600

On Dec 28, 2005, at 12:47 PM, Eric Morand wrote:

I suppose "set myArray to make new list" should work...but it doesn't.


set myArray to {"a", "b", "c"}

-- or just:

set anotherArray to {}

-- and fill in the elements later

Worse, I don't even a have clue on how to add an entry to my array !

set myArray to myArray & "d" -- > {"a", "b", "c", "d"}

HTH,
Michael


-- Help Common Ground provide short-term relief for victims of hurricane disasters in the Gulf Coast region, and long-term support in rebuilding the communities affected in New Orleans:
<http://www.commongroundrelief.org/donate/>



_______________________________________________ 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
  • Follow-Ups:
    • Re: Arrays in AppleScript ?
      • From: Paul Berkowitz <email@hidden>
References: 
 >Arrays in AppleScript ? (From: Eric Morand <email@hidden>)

  • Prev by Date: Re: Arrays in AppleScript ?
  • Next by Date: Re: Arrays in AppleScript ?
  • Previous by thread: Arrays in AppleScript ?
  • Next by thread: Re: Arrays in AppleScript ?
  • Index(es):
    • Date
    • Thread