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?
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?