Re-dimensioning arrays

BlitzMax Forums/BlitzMax Beginners Area/Re-dimensioning arrays

Mental Image(Posted 2006) [#1]
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.


Mental Image(Posted 2006) [#2]
Sorted using the Wiki - sorry for that!

Oh, for anyone else, the answer is:

MapData=MapData[..newsize]