• 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: set vs copy?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: set vs copy?


  • Subject: Re: set vs copy?
  • From: Alex Zavatone <email@hidden>
  • Date: Tue, 14 Sep 2010 16:32:56 -0500

List values are passed by reference.  So that if the original changes, an item that is set to that list will also change. Copy breaks that reference.

On Sep 14, 2010, at 4:01 PM, tom wible wrote:

>> For paranoia's sake, I used copy, but I'm sure a set will do the trick.
>
> i've never seen a satisfactory explanation of exactly what a/s is doing in set vs copy...
> _______________________________________________
> 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

 _______________________________________________
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

References: 
 >set vs copy? (From: tom wible <email@hidden>)

  • Prev by Date: Re: Illustrator CS4 hierarchical menus
  • Next by Date: Re: set vs copy?
  • Previous by thread: Re: set vs copy?
  • Next by thread: Re: set vs copy?
  • Index(es):
    • Date
    • Thread