MikeBronner
Programmer
I need to initialize an array with different sizes each time it is run. The size of the array is user-dependant.
using a variable obviously wont work, as it requires a constant. I know that in c++ you can circumvent this issue using the new method (nArray = new int[variable]; instead of int nArray[variable]
. How can I do this in VB?
Thanks guys! Take Care,
Mike
using a variable obviously wont work, as it requires a constant. I know that in c++ you can circumvent this issue using the new method (nArray = new int[variable]; instead of int nArray[variable]
Thanks guys! Take Care,
Mike