Hi --

On Sat, 9 Nov 2002, Gennady F. Bystritsky wrote:

> @m = (0 .. @rows).collect { Array.new @cols }

You'd want the '...' operator, though, assuming @rows contains the
number of rows you want (rather than the 0-based index of the top
row).


David

-- 
David Alan Black
home: dblack / candle.superlink.net
work: blackdav / shu.edu
Web:  http://pirate.shu.edu/~blackdav