it was mentioned earlier but there was no answer,
anyways I want to do sumthin like this...
grid[1][1] = 1
grid[1][2] = 2
grid[1][3] = 3
grid[2][1] = 2
grid[2][2] = 4
so any code info is appreciated.
PS:i have tried this code...
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
all i got was an error that said...
CPB.dme:15:error: missing expression
maybe i might be missing something, help please!
ID:149886
Feb 1 2002, 10:40 am
|
|
In response to ACWraith
|
|
ACWraith wrote:
Maybe. :) PLEASE be a little more specific i probably wouldnt be asking if i had some cash so i could get that blue book, but right know i just need some help please. for those you whom dont know here is my last message... it was mentioned earlier but there was no answer, thank you. Magus_XII |
MagusXII wrote:
it was mentioned earlier but there was no answer, You can do exactly this and with this syntax. Access the F1 help and read about lists. |
In response to MagusXII
|
|
MagusXII wrote:
[snip] PLEASE be a little more specific i probably wouldnt be asking if i had some cash so i could get that blue book, but right know i just need some help please.[snip] I wasn't trying to be rude. My full post included part of your source. You included the line "grid[x][y] = // whatever". You began an expression and never finished it. I tested the code before I gave it to you in the first place. However, I was not sure how you would want to assign values so I left a comment marking where you had to fill it in. |
In response to ACWraith
|
|
tiss all right it just sounded a little cryptic is all but thanks anyways
Magus_XII |
[snip]
[snip]
Maybe. :)