From: SpringFlowers AutumnMoon Date: 2007-09-30T01:59:40+09:00 Subject: Re: a different type of reference (shocked) 7stud -- wrote: > In C++, references are sometimes called 'aliases'. But ruby also has > aliases: > > x = "hello" > y = x > > y[0] = "H" > puts x, y //Hello Hello but does Ruby have something like: x = "hello" y = (whatever &*) x y = "bye" and both x, y will print out as "bye"? -- Posted via http://www.ruby-forum.com/.