08-09-2003, 03:51 AM
Hi everyone! I have some question concerning arrays..
hei = img%(n%)
The question is the value of n%, if you for example let n% be 1 you get the height of a array.. Now what will happend if i use other numbers is there somewhere i can lookup that?
What exactly does the n% do and how does it work? Can you clear this out with me..
And one more thing, if i wanna poke a value in a array.. I tried the way you poke on the screen but it won't work, when i try to put the array i get a error..
DEF SEG = VARSEG(img%(1))
POKE ((y*wid)+x),c
That didn't work.. And by the way that 1 in VARSEG(img%(1)) what function does it fulfil?
Peace
hei = img%(n%)
The question is the value of n%, if you for example let n% be 1 you get the height of a array.. Now what will happend if i use other numbers is there somewhere i can lookup that?
What exactly does the n% do and how does it work? Can you clear this out with me..
And one more thing, if i wanna poke a value in a array.. I tried the way you poke on the screen but it won't work, when i try to put the array i get a error..
DEF SEG = VARSEG(img%(1))
POKE ((y*wid)+x),c
That didn't work.. And by the way that 1 in VARSEG(img%(1)) what function does it fulfil?
Peace