Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is the limit on size of an array?

array limit size
0
Posted

What is the limit on size of an array?

0

There is a limit of 64K of data space for an array. To determine the size of an array apply the following calculation. data size * (number of element in array + 1) <= 64K Bytes For example an array with three dimensions and made of MbePoint would be as follows: Dim array(0 to 5,1 to 10,11 to 30) as MbePoint There are three variables to this equation... • The data size, which in this case is 24 bytes ( an MbePoint is made up of three doubles of eight bytes each) • The number of dimensions, in this case is three • The number of indices for each dimension, (Upper bound - lower bound + 1), in this case 6, 10, 20.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123