From: Nigel Wilkinson Date: 2005-06-18T18:07:30+09:00 Subject: Re: Why do arrays work this way? --On Saturday, June 18, 2005 09:04:28 +0900 Kent Sibilev wrote: > When you make an assignment b = a, you assign the variable 'b' a > reference to the same array variable 'a' refers to. If you want to > have a copy of array a use dup method like > > b = a.dup > > Kent. > Thanks everyone Nigel