From: Marcio Braga Date: 2008-08-17T22:55:07+09:00 Subject: Matrix: Need help to understand this behavior a=[1] b=a # make matrix "b" equal matrix "a", but expected 2 separated matrices b[0]=2*b[0] # I want to change matrix "b" (and not matrix "a") p a # print matrix "a" and see the "issue" The expected value in the matrix "a" should be 1, but instead it is 2. Why ? Thank you. Marcio -- Posted via http://www.ruby-forum.com/.