Re: List within a List
Re: List within a List
- Subject: Re: List within a List
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 16 Mar 2001 19:47:02 -0800
On 3/16/01 6:20 PM, "Frank Watzl" <email@hidden> wrote:
>
At 1:11 Uhr +0000 17.03.2001, Pier Kuipers wrote:
>
>
>
>
> -- but what I am really looking for is:
>
> -->{"A", "B", {"B", "C"}}
>
>
>
> Any help greatly appreciated.
>
>
>
Hi,
>
>
this works here.
>
>
set theFirstList to {"A", "B"}
>
set theSecondList to {"B", "C"}
>
set newlist to theFirstList & {theSecondList}
>
-->{"A", "B", {"B", "C"}}
>
Just don't concatenate like that too many times with the same list, or you
get memory stack (or is it heap?) problems.
set end of theFirstList to theSecondList
does not have these problems, although it wouldn't matter if you're just
doing the one operation.
--
Paul Berkowitz