The second one that seems to work is actually calling length() on the object at the cell [x][y] which must be a String or something that has a length() method. Array doesn't have a length() method, it has a length attribute - no parens. You'd have to call the inventors of the language to ask why some things have length, others have length() and others have size().
Remembering that a multi-dimensional array is just an array of arrays ...
Cheers! [ May 19, 2005: Message edited by: Stan James ]
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
I yam what I yam and that's all that I yam - the great philosopher Popeye. Tiny ad: