No multi-dimentional Blitz Arrays!
BlitzPlus Forums/BlitzPlus Programming/No multi-dimentional Blitz Arrays! Can you do it like C++ where you do grid[asdf][fdsa]?
Sushimasta, your example doesn't work, it gives me this error:
"Expecting 'Field' or 'End Type'"
"Expecting 'Field' or 'End Type'"
Yeah you can only use 1 dimensional Blitz Arrays (i.e. using square brackets not round ones) in fields. That's pretty much my problem. It wasn't too bad in the end as everytime I stored a value in it I did Grid(y*width+x) which worked fine.
Oh I didn't know you could only use 1 dim. arrays as fields. I just assumed it would be possible as it is in most languages.