Any way to change array dimension?

BlitzMax Forums/BlitzMax Beginners Area/Any way to change array dimension?

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.

Sorry, but there is no way to resize multidimensional arrays without loosing your data.
Slicing only works for 1-dimonsional arrays.
'resizing 1-dim
Array$[] = Array$[..newLenght]

'multi dim with loosing data
Array$[,] = New String[20,20]


There is a work around for this called 'Arrays in Arrays'
There are some threads for this, just search a bit ;)