• 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: List appending question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: List appending question


  • Subject: Re: List appending question
  • From: Rob Jorgensen <email@hidden>
  • Date: Mon, 11 Aug 2003 19:26:25 -0400

At 6:54 PM -0400 8/11/03, Chris Backas wrote:
Hello all,

I've got two lists, and I'd like to put the contents of on list into the other - however, not in the appending way.

ListA = {}
ListB = {"Some Stuff","Some Other Stuff"}

I would like to make ListA become {{"Some Stuff", "Some Other Stuff"}} Rather than taking all ListB's value's and appending them to ListA.

What's the proper syntax for this?

This might work:

set ListA to {}
set ListB to {"Some Stuff", "Some Other Stuff"}
set ListA to {ListB}

-- Rob
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >List appending question (From: Chris Backas <email@hidden>)

  • Prev by Date: List appending question
  • Next by Date: Mail.app the iChat scripting..
  • Previous by thread: List appending question
  • Next by thread: Re: List appending question
  • Index(es):
    • Date
    • Thread