Variable size arrays as a field

BlitzMax Forums/BlitzMax Programming/Variable size arrays as a field

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

If I have a field in a type that is a multidimensional array, how do I define and resize it?

Field grid:TMyType[n,n]

I want to be able to resize the grid[] array depending on the resolution I want. I want an array, not a list, so I can look up the values by xy position.