• 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: Manipulating text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Manipulating text


  • Subject: Re: Manipulating text
  • From: Christopher Nebel <email@hidden>
  • Date: Mon, 28 Sep 2009 09:38:37 -0700

On Sep 27, 2009, at 7:44 AM, email@hidden wrote:

It's not painfully obvious, in fact it's downright obtuse and has confused people since the dawn of AppleScript.

If you've ever programmed in a language like C that uses pointer then you can think of set as being a command for copying pointers and copy being a command for data.

This is true for some things, like lists, records and dates. It is not true for other things, like strings and numbers.

Yes and no. (Im)mutability is really the relevant thing -- strings follow the same copy/share behavior as lists, but it's hard to tell the difference because they're immutable. You would see a performance difference, though.



--Chris Nebel AppleScript Engineering

_______________________________________________
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:
    • Re: Manipulating text
      • From: "Stockly, Ed" <email@hidden>
References: 
 >Manipulating text (From: Jim Brandt <email@hidden>)
 >Re: Manipulating text (From: Luther Fuller <email@hidden>)
 >Re: Manipulating text (From: Philip Aker <email@hidden>)
 >Re: Manipulating text (From: Luther Fuller <email@hidden>)
 >Re: Manipulating text (From: "Mark J. Reed" <email@hidden>)
 >Re: Manipulating text (From: Philip Aker <email@hidden>)
 >Re: Manipulating text (From: "Mark J. Reed" <email@hidden>)
 >Re: Manipulating text (From: Jon Pugh <email@hidden>)
 >Re: Manipulating text (From: Jon Pugh <email@hidden>)
 >Re: Manipulating text (From: LuKreme <email@hidden>)
 >Re: Manipulating text (From: email@hidden)

  • Prev by Date: Re: AS Application
  • Next by Date: Re: Manipulating text
  • Previous by thread: Re: Manipulating text
  • Next by thread: Re: Manipulating text
  • Index(es):
    • Date
    • Thread