A89: Matrices - BASIC question


[Prev][Next][Index][Thread]

A89: Matrices - BASIC question




    I created a 25x25 matrix called 'test', I looked at it and all of the
values up to 25,25 were '0'.  That made sense because I hadn't put any
values in yet.  When I typed (in the home screen and in a program)
"5->test[10,10]" I got an error saying "dimension".  What am I doing wrong?
    In the program, I also tried:

5->a
for x,1,25
  for y,1,25
    a->test[x,y]
  endfor
endfor

I want to make every value whatever 'a' is.
    In advance, I appreciate the help.  This is the only problem keeping me
from finishing my game.
David Demers
    led__zeppelin@msn.com




Follow-Ups: