On Wed, Jul 09, 2003 at 08:46:38AM +0900, Joe Gwozdecki wrote:
> Your coding works fine in IRB.  The original poster wrote a
> = Array[1,2,3,4,5,6,7,8,9,10]  which did not work.  Get rid
> of "Array" and it works.

It looks OK to me:

irb(main):001:0> a = Array[1,2,3,4,5]
=> [1, 2, 3, 4, 5]
irb(main):002:0> 

(this is 1.6.8)