Re: Creating list references in handlers. Bad code or bug?
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