From: David Alan Black Date: 2002-07-17T07:22:55+09:00 Subject: Re: TkText no -textvariable workaround? Hi -- On Wed, 17 Jul 2002, Dossy wrote: > On 2002.07.17, Dave Thomas wrote: > > > A variable is not an object: it's a reference to one. There is no > > object 'a'. > > Why must variables exist? Why can't there be a Object#reference that > returns a reference to an object, so that: > > a = b.reference > > Makes a an ObjectReference that delegates to b. Isn't that in effect what Ruby does, since variables hold references to objects? As in the classic case: b = Hash[*%w{ one un two deux }] a = b a["three"] = "trois" p b["three"] # => "trois" David -- David Alan Black home: dblack@candle.superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav