Hi everyone, I'm trying to use a nested Loop that emulates a Grid of 100 rows and 10 Columns. And use a Javascript document.write() to display the row number and column number for every cell in the grid.

I've kind of got an idea of what's going on but just need help tweaking it to get it to work properly..

Var RowNum = 1;
Var ColNum = 1;

DO Until RowNum >= 100

DO Until ColNum >= 10

Document.Write("Row:" + RowNum + " Column:" + ColNum);
ColNum = ColNum + 1;

Loop


RowNum = RowNum + 1;

LOOP


Any help would be greatly appreciated. Thanks everyone.