List appending question
List appending question
- Subject: List appending question
- From: kai <email@hidden>
- Date: Tue, 12 Aug 2003 00:38:11 +0100
on Mon, 11 Aug 2003 18:54:50 -0400 (EDT), Chris Backas
<email@hidden> wrote:
>
I've got two lists, and I'd like to put the contents of on list into the other
- however, not in the appending way.
>
>
ListA = {}
>
ListB = {"Some Stuff","Some Other Stuff"}
>
>
I would like to make ListA become {{"Some Stuff", "Some Other Stuff"}} Rather
than taking all ListB's value's and appending them to ListA.
>
>
What's the proper syntax for this?
set ListA to {}
set ListB to {"Some Stuff", "Some Other Stuff"}
set ListA's end to ListB
ListA
--> {{"Some Stuff", "Some Other Stuff"}}
---
kai
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.