Re: Manipulating text
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