• 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: email@hidden (Frank Watzl)
  • Date: Sat, 17 Mar 2001 03:20:28 +0100

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"}}

(*
set newlist to {theFirstList} & {theSecondList}
-->{{"A", "B"}, {"B", "C"}}
*)

Frank Watzl


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

  • Prev by Date: Re: List within a List
  • Next by Date: Re: List within a List
  • Previous by thread: Re: List within a List
  • Next by thread: Re: List within a List
  • Index(es):
    • Date
    • Thread