I was doing the last tutorial in the Game Programing Section of http://www.vbprogramming.8k.com and when i added in the code | CODE | Public Tiles() As Bitmap Public TileIndex(,) As Integer |
to replace,
| CODE | | Public Tiles() As Bitmap |
i got an error with,
| CODE | | ReDim Tiles(Width, Height) |
which is a few lines below on the clsMAP class... ther error is,
'ReDim' cannot change the number of dimensions of an array.
Can somebody pleas tell me how to fix this problem... this is the first error i have encountered that i have not been abult to fix myself.
Thanks for any help
|