Redim an Array?

BlitzMax Forums/BlitzMax Beginners Area/Redim an Array?

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.

Is there a way to redim an array in blitzmax? I have used it in other languages but Im not finding it here.

Basically I define this array when the program loads.

Global tiles:Int[GadgetWidth(MainCanvas.Tgad)/TILESIZE,GadgetHeight(MainCanvas.Tgad)/TILESIZE]

When the window gets resized it needs rerun or the array is the wrong size. Basically it just needs rerun after the resize of the window.

How would I do that?