From: Levin Alexander Date: 2006-02-02T08:06:53+09:00 Subject: Re: [RCR] Numeric#of On 2/1/06, Phil Duby wrote: > I was looking for a clean (Ruby) way of creating an array of ascending> integer values, with the final value zero. IE [ 1, 2, 3, 4, 0 ]> i = 0; a = Array.new( 4 ) { i += 1 }.push 0 a = (1..4).to_a << 0 -Levin