How can I reset a rectangualr array without having to loop through it?

int[][] myRectData = new int[][](10,10);

myRectData.length = 0;
myRectData[].length = 0;                
myRectData[][].length = 0;      

They all give: slice expression .. is not a modifiable lvalue.

--
Robert M. Münch
http://www.saphirion.com
smarter | better | faster

Reply via email to