Faheem Mitha wrote:
> Nearly everything behaves the way I would expect, except that setting
> x to 12 in A using class_setx at the beginning also sets the value for
> x in B. However, the converse (setting x in B using class_setx), does
> not change the value in A, which I would consider to be the
Hi,
Consider the following small script.
My understanding of how this works is that, conceptually, class B
holds a separate copy of variable x from class A.
Nearly everything behaves the way I would expect, except that setting
x to 12 in A using class_setx at the beginning also sets the value fo