From: Chandramouli Parasuraman Date: 2010-05-04T21:16:23+09:00 Subject: Re: Calculation in a block Great, now I understand. Works fine now with both Array.new(1000) {|i| i+1} and the inject. Thanks everyone. -- Posted via http://www.ruby-forum.com/.