On Apr 24, 2006, at 6:11 AM, Domenico Carbotta wrote:
Gotta love the nomenclature, too ;-:).
it might stink, but it works :)
Works just fine in Ruby too, without ugly methods: ;)
class SpreadSheet def initialize( rows ) @cells = rows end def []( x, y ) @cells[y][x] end def []=( x, y, value ) # do your cell adding here... @cells[y][x] = value end end
James Edward Gray II