Jump to content
Sign in to follow this  
uiox

Maximum dimension of an array?

Recommended Posts

how about you add a little more detail and wed be able to help you. Jeez, dont expect us to know exactly what you want. mad.gif

Share this post


Link to post
Share on other sites
Guest

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (taimaishu1103 @ Aug. 20 2002,08:28)</td></tr><tr><td id="QUOTE">how about you add a little more detail and wed be able to help you.  Jeez, dont expect us to know exactly what you want.  mad.gif<span id='postcolor'>

He asked for the maximum dimension of an array. It can't be clearer then that.

Uiox: If my memory serves me correctly I had an array of 60000 (60k) elements and it worked fine.

Share this post


Link to post
Share on other sites

There is no hard limit set, but you are limited by memory allocation. As single memory allocation in OFP is limited to 256 MB and one array element slot uses 4 B, you certainly cannot have array bigger then 6 M (6.7 millions). In practice you will also need some memory to contain content of elements.

Conclusion is: until you see error message telling you you are out of memory, you can make your array as big as you wish.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×