"Michael Neumann" <520079130762-0001 / t-online.de> wrote in message
> Sean O'Dell wrote:
> > I'm trying to get in my head what the rules about assignment are.  So
far
> > here's what I think I've got:
>
> Wrong. Only Fixnum (small integers) objects are copied, but not Bignum's
> (large integers) and String's.
>
> Nil, true and false are special, too.

Then why does this statement:

var1 = "asdasd"
var2 = var1
var1 = "qweqwe"
print("VAR2: #{var2}\n")

....print out "asdasd" instead of "qweqwe"?  If var2 points to var1, printing
out var2 should print the contents of var1, if what you said is true.

    Sean