Re-dimensioning arrays
BlitzMax Forums/BlitzMax Beginners Area/Re-dimensioning arrays
| ||
If I have created an array with, for example,Global MapData:Int[] what is the correct syntax to re-dimension that array later in the program. Lets say for instance that I want to make the array have 200 elements? Thanks. |
| ||
Sorted using the Wiki - sorry for that! Oh, for anyone else, the answer is: MapData=MapData[..newsize] |