Posted By
|
Message
|
CUBE
Registered 04/12/2004
Points 283
|
25th September, 2006 at 04:37:02 -
In MMF 1.5 is there anyway to resize arrays at runtime?
n/a
|
axel Crazy?
Registered 05/02/2005
Points 4766
|
25th September, 2006 at 05:09:12 -
No, don't think so, but you could always use some alternative data storage object. Go look on www.clickteam.info/extensions
n/a
|
Fifth Quadruped
Registered 07/05/2003
Points 5818
|
25th September, 2006 at 13:32:51 -
I may be wrong, but I don't think MMF stops you if you move outside the previously-determined limits of an array and store or retrieve data.
'Course, doing this may have some really terrible consequences that I'm not aware of (I'm really no expert on the matter), but it seems to work just fine from what I can tell.
Or you could just make an array so large that you'll never have to change its dimensions. I don't think anybody'll complain if you use only a portion of a larger array.
Go Moon!
|
Werbad
Registered 18/09/2002
Points 235
|
3rd October, 2006 at 06:56:16 -
If you try to set a value outside the arrays limit the array will expand automatically, but i don't know how to shrink it...
n/a
|
CUBE
Registered 04/12/2004
Points 283
|
3rd October, 2006 at 19:58:25 -
Thanks Werbad, that's what I needed to know. And I don't need to be able to shrink it, just enlarge it.
n/a
|
|
|