Hi, I'm totally new to blitzmax.
I need to resize a couple of arrays but the changes from blitz3d have confused me. Is everything automatic with arrays now? I can't find any useful information about them in the docs.
Could someone please do a quick example of a 1-D array, a 2-D one, and how to resize them?
I'm used to something like this:
DIM array1%(100)
DIM array2%(100,100)
Then to resize them at a later point I'd just DIM them again. Or is my memory playing tricks?
I have managed to create 1D arrays which are doing the job, but a resizeable 2D one would be ideal.
thanks in advance
I need to resize a couple of arrays but the changes from blitz3d have confused me. Is everything automatic with arrays now? I can't find any useful information about them in the docs.
Could someone please do a quick example of a 1-D array, a 2-D one, and how to resize them?
I'm used to something like this:
DIM array1%(100)
DIM array2%(100,100)
Then to resize them at a later point I'd just DIM them again. Or is my memory playing tricks?
I have managed to create 1D arrays which are doing the job, but a resizeable 2D one would be ideal.
thanks in advance