Re: Create a list of lists?
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"}}}