• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: List within a List
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: List within a List


  • Subject: Re: List within a List
  • From: Devon and Cornwall <email@hidden>
  • Date: Fri, 16 Mar 2001 17:53:07 -0800

At 1:11 AM +0000 3/17/01, Pier Kuipers wrote:
>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"}}

set {theFirstList, theSecondList} to {{"A", "B"}, {"B", "C"}}
--> {{"A", "B"}, {"B", "C"}}

Let us know if you were really looking for something else.

Devon and Cornwall


  • Follow-Ups:
    • Re: List within a List
      • From: Cornwall <email@hidden>
References: 
 >List within a List (From: Pier Kuipers <email@hidden>)

  • Prev by Date: Re: Program Linking as a guest (Solution: AutoGuest)
  • Next by Date: Re: List within a List
  • Previous by thread: List within a List
  • Next by thread: Re: List within a List
  • Index(es):
    • Date
    • Thread