-
Array - Visual Basic 6.0
Hello programmers
Please I need you advice. I have an one dimension array declared as
dim MyArray(9000) as string
I am working with Windows 98 and Visual Basic 6.0
*** Question:
What is the maximun store size for one dimension array?
Can I declare Dim MyArray(13000) as string?
Thanks to alll for your time
Daniel
Hollywood, FL
-
What is the maximun store size for one dimension array? ==> I don't know.
Can I declare Dim MyArray(13000) as string? ==> Why not just try it?
-
From MSDN
The maximum number of controls allowed on a single form depends on the type of controls used and available system resources. However, there is a fixed limit of 254 control names per form. A control array counts only once toward this limit because all the controls in the array share a single control name.
The limit on control array indexes is 0 to 32,767 on all versions.
If you layer controls on top of each other, such as using several frame controls within other frames, Visual Basic will generally accept no more than 25 levels of nested controls
-
You can make the array as big as you want as long as your computer has enough memory for it, but if you're making arrays that big might i suggest you create them dynamically...