List within a List
List within a List
- Subject: List within a List
- From: Pier Kuipers <email@hidden>
- Date: Sat, 17 Mar 2001 01:11:14 +0000
Hi all,
How would I go about inserting a list into another list with vanilla AS?
What I am trying to do is something like this:
set theFirstList to {"A", "B"}
set theSecondList to {"B", "C"}
set theNewList to theFirstList & (theSecondList) as list
-- this results in:
--> {"A", "B", "B", "C"}
-- but what I am really looking for is:
-->{"A", "B", {"B", "C"}}
Any help greatly appreciated.
Pier.
--
Pier Kuipers
Visual ID
* the Media Asset Management solution *
2 Whitefriars
Aungier Street
Dublin 2
Tel. +353 1 476 7059
Mobile +353 87 294 3063
Fax +353 1 478 1366
ISDN +353 1 602 0754
http://www.visualid.com