• 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: "Jeffrey L. McLean" <email@hidden>
  • Date: Sun, 01 Apr 2001 21:13:02 -0400

> From: email@hidden (Frank Watzl)
> Date: Sat, 17 Mar 2001 03:20:28 +0100
> To: Applescript Mailing List <email@hidden>
> Cc: Pier Kuipers <email@hidden>
> Subject: Re: List within a List
>
> set theFirstList to {"A", "B"}
> set theSecondList to {"B", "C"}
> set newlist to {theFirstList} & {theSecondList}
> -->{{"A", "B"}, {"B", "C"}}

If later I wanted to get the list, could be done with something like this

set ListA to the first list of newList
--> {"A", "B"}

set ListB to the second list of newList
--> {"B", "C"}


  • Prev by Date: Variable parameter lists and more! (was Re: wishlist: user-declared parameter labels without "given"
  • Next by Date: Re: Variable parameter lists and more! (was Re: wishlist: user-declared parameter labels without "given"
  • Previous by thread: Re: Variable parameter lists and more! (was Re: wishlist: user-declared parameter labels without "given"
  • Next by thread: CoreFoundationLib Log w/ AS 1.6
  • Index(es):
    • Date
    • Thread