Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Array

Status
Not open for further replies.

Danielvb

Programmer
Oct 8, 2002
34
US
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 all for your time


Daniel
Hollywood, FL
 
Hope you have a lot of RAM.
Microsoft Knowledge Base Article - 229792
The maximum number of elements in an array is limited by the amount of available system resources. While you could possibly have an array with the maximum 32-bit value of 2147483648, your program would run out of memory on Windows NT because Windows NT 4.0 only supports 4GB of memory in a single process.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top