• 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: Creating list references in handlers. Bad code or bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating list references in handlers. Bad code or bug?


  • Subject: Re: Creating list references in handlers. Bad code or bug?
  • From: Helmut Fuchs <email@hidden>
  • Date: Sat, 15 Sep 2001 17:31:12 +0200

Having thought for a while that I at least superficially understood what's going on, I'm becoming increasingly confused...

Try changing the line
set item 1 of contents of refB to "changed!"
to
set item 1 of contents of refA to "changed!"

Clearly, if both references are to the same object, then the outcome of theHandler() must be the same.

But this are the results of the first:
--> {{"changed!"}, theList of {theList:{"changed!"}}}
and this of the second:
--> {{"unchanged!"}, theList of {theList:{"unchanged!"}}}

Am I slowly going crazy? Or did I simply miss something?

Puzzled,

Helmut


  • Prev by Date: Re: Creating list references in handlers. Bad code or bug?
  • Next by Date: Re: Scriptable Text Editor v.1.1
  • Previous by thread: Re: Creating list references in handlers. Bad code or bug?
  • Next by thread: Re: Creating list references in handlers. Bad code or bug?
  • Index(es):
    • Date
    • Thread