• 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: "Marc K. Myers" <email@hidden>
  • Date: Mon, 08 Jan 2001 15:26:12 -0500
  • Organization: [very little]

Michael Kern wrote:
> Subject: Create a list of lists?
> Date: Mon, 8 Jan 2001 11:36:37 -0500
> From: Michael Kern <email@hidden>
> To: <email@hidden>
>
> 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.

set list1 to {"A", "B", "C"}
set list2 to {"D", "E", "F"}
set list3 to list1 & {list2}
set list4 to list1 & {list2} & {list3}
-- {"A", "B", "C", {"D", "E", "F"}, {"A", "B", "C", {"D", "E", "F"}}}


  • Prev by Date: RE: Settings properties from a loaded script
  • Next by Date: default buttons for dialog boxes
  • Previous by thread: Re: Create a list of lists?
  • Next by thread: Re: Create a list of lists?
  • Index(es):
    • Date
    • Thread