Hi,
I want to initialize a four dimentional array that is 3x3x3x3.
Then I want to begin assigning decimal values to each cell.
Here's my code:
Dim matrix(3, 3, 3, 3) As Double
matrix(1, 1, 1, 1)=0.878595
matrix(1, 1, 1, 2)=0.457677
matrix(1, 1, 1, 3)=0.345555
matrix(1, 1, 2, 1)=0.765455
etc.
when I type this in, the program blue-underlines "matrix". When I put my mouse over it, it says "declaration expected".
Well that's what I thought I was doing!
What am I doing wrong?
2007-03-08
15:51:32
·
1 answers
·
asked by
cpine505
3