Im just wondering if there is an easy way to make grids?
I need to have 100 values on the grid (So the grid is 10 by 10) and its going to take up alot of space/time making it.
I would really hate to finish my grid and realise that there was a simple way to do it.
-DogMan
ID:261357
![]() Jan 24 2002, 2:31 pm
|
|
Whoops sorry. I mean a grid as in a list/grid[10][10] style situation.
I need something to use other then grid[1][1] = 1 grid[1][2] = 2 grid[1][3] = 3 grid[2][1] = 2 grid[2][2] = 4 ect... -DogMan |
Do you mean something like this?
var x as num y as num list/yList for(x = 1, x <= grid.len, x++) yList = grid[x] for(y = 1, y <= yList.len, y++) grid[x][y] = // whatever |
~X