• 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
Nested list multi - set
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Nested list multi - set


  • Subject: Nested list multi - set
  • From: SemiColon <email@hidden>
  • Date: Fri, 29 Dec 2000 18:32:01 -0800

I was staring at a couple of lines of code today trying to combine
them into a multi - set, (set {a, b, c,} to {1, 2, 3} sort of thing).
It turned out to need an array rather than a list, but I tried and
found that it worked. My example would mean nothing out of the
context of a largish script, but this example is similar.

set {{a, b, c, d, {x, y, z}, e}, {f, g, h}, twee} to {{1, 2, 3, 4, {9, 10, 11}, "A"}, {6, 7, 8}, "deedle"}
--> {{1, 2, 3, 4, {9, 10, 11}, "A"}, {6, 7, 8}, "deedle"}

I didn't know that!

;


  • Follow-Ups:
    • Re: Nested list multi - set
      • From: Chris Nebel <email@hidden>
  • Prev by Date: Re: "End of file error"
  • Next by Date: Re: How to move icons on desktop
  • Previous by thread: Re: "End of file error"
  • Next by thread: Re: Nested list multi - set
  • Index(es):
    • Date
    • Thread