From: ts Date: 2001-08-02T01:30:32+09:00 Subject: [ruby-talk:18971] Re: hash with Array as value >>>>> "m" == markus jais writes: m> h[r[0]] = Array.new(r[1], r[2]) Array::new can take 2 optional arguments : 1) the size of the array 2) the value to initialize the array. m> ./hash.rb:7:in `initialize': no implicit conversion from string (TypeError) It is trying to convert r[1] to a number. Guy Decoux