Re: Create a list of lists?
Re: Create a list of lists?
- Subject: Re: Create a list of lists?
- From: email@hidden
- Date: Mon, 8 Jan 2001 13:58:59 EST
<email@hidden>writes:
>
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.
>
you might need to put braces around the sublist variable:
set a to {}
repeat 4 times
set b to {}
repeat 2 times
set b to b & {0}
end repeat
set a to a & {b}
end repeat
HTH,
John