From: ts Date: 2002-04-16T17:49:27+09:00 Subject: Re: Pascal to Ruby >>>>> "D" == David Alan Black writes: D> class Array D> def insert(e,i) D> m,n = self[0..i-1], self[i..-1] D> replace m D> push e D> concat n D> return self D> end D> end What is wrong with my initial proposition [ruby-talk:38364] ? pigeon% ruby -e 'a = ["a", "c"]; a[1,0] = "b"; p a; a[1][0,0] = "123"; p a' ["a", "b", "c"] ["a", "123b", "c"] pigeon% Guy Decoux