• 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
Difference between square and curly brackets around AS lists
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Difference between square and curly brackets around AS lists


  • Subject: Difference between square and curly brackets around AS lists
  • From: jif <email@hidden>
  • Date: Thu, 24 Nov 2016 02:11:16 +0000

Square and curly brackets seem almost but not quite interchangeable around AS lists.

{1, 2, 3} & [[4, 5, 6]] --> {1, 2, 3, 4, 5, 6}

{1, 2, 3} & {{4, 5, 6}} --> {1, 2, 3, {4, 5, 6}}


Can anyone point to documentation or insight ?
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Fwd: Difference between square and curly brackets around AS lists
      • From: jif <email@hidden>
  • Prev by Date: Re: Forward movement vs Tilting at windmills [Re: Apple script and hypercard]
  • Next by Date: Fwd: Difference between square and curly brackets around AS lists
  • Previous by thread: Re: what's in a standard library? [Re: Forward movement vs Tilting at windmills]
  • Next by thread: Fwd: Difference between square and curly brackets around AS lists
  • Index(es):
    • Date
    • Thread