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

Re: Create a list of lists?


  • Subject: Re: Create a list of lists?
  • From: Phi Sanders <email@hidden>
  • Date: Mon, 8 Jan 2001 11:58:51 -0500

set listA to {}
set listB to {"Uno","Dos","Tres"}
set listC to {"Alpha","Beta","Gamma","Delta"}
set listD to {"Pizza","Dr. Pepper","Ice Cream","Rice-a-Roni","Chocolate
Malted"}

Copy listB to the end of listA
Copy listC to the end of listA
Copy listD to the end of listA

-- {{"Uno","Dos","Tres"},{"Alpha","Beta","Gamma","Delta"},
-- {"Pizza","Dr. Pepper","Ice Cream","Rice-a-Roni","Chocolate Malted"}}

~Phi
--
Phi Sanders
"Phee, Phi, Pho, Phum..."

"And now, back to your regularly scheduled reality."

On 1/8/01, Michael Kern {email@hidden} said the following :

>I need to create a list of lists (maybe even a list of list of lists!!)
>
>Something along the lines of:
>{{{EventName1}{Year11, Year12, Year13}},{{EventName2}{Year21, Year22,
>Year23}},{{EventName31}{Year31, Year32, Year33}}}
>
>I can capture the user entered data in variable with no problems. But
>whenever I try to create a nested list of this type I just get a long
>single comma delimited list.
>
>Does anyone know how to do this?
>Thanks.
>
>Michael Kern
>Technologic Partners
>(212) 343-1900 x116
>email@hidden
>_______________________________________________
>applescript-users mailing list
>email@hidden
>http://www.lists.apple.com/mailman/listinfo/applescript-users


References: 
 >Create a list of lists? (From: Michael Kern <email@hidden>)

  • Prev by Date: Re: Subroutines
  • Next by Date: RE: Line breaks
  • Previous by thread: Create a list of lists?
  • Next by thread: Re: Create a list of lists?
  • Index(es):
    • Date
    • Thread