Dynamic Array


[ Follow Ups ] [ BasicCard User Forum ]

Posted by xavier (212.234.11.34) on August 01, 2003 at 04:00:52:

Each time you execute the ReDim statement, all the values currently stored in the array are lost.
This is useful when you want to prepare the array for new data, but sometimes you may want to change the size of the array without losing the data in the array. How can you do this ?

I know there is a way with Visual Basic by using ReDim with the Preserve keyword, but it doesn't work with ZCBasic.

Best Regards


Follow Ups:


[ Follow Ups ] [ BasicCard User Forum ]