Quote:
Originally Posted by ceaser
Thanks for the reply, but I fail to see how that can help me. Is it possible for an example please?
|
No, I can't write an example because there are so many ways of approaching it. The simplest would be to use an ArrayList for holding the data but perhaps that would be too much of a re-write and/or a hit on performance.
I had in mind that using
AddArray(array As Array()) : Adds the contents of array to the end of the items (if any) already in the ArrayList.
and
ToArray() : Returns an array containing copies of all the elements of the ArrayList.
you can use the extensibility of ArrayList just when you want to expand your array but put the data back into a plain array. But the decisions depend on how you use your arrays and where the overheads are best kept.
Mike.