>Using HUGE for this application, the program runs out of memory under the same practical conditions as it would without HUGE..
When you are out of regular MS-DOS memory, you are out of memory, period.
HUGE arrays come out of 'regular' MS-DOS memory. VITRUAL arrays come out of EMS. So you should probably use VIRTUAL now if you are going to have to manage that much data. (Or change design to not try to use arrays for whatever it is you are using them).
Announcement
Collapse
No announcement yet.
64k array size limit
Collapse
X
-
Thanks for the help!
I made my array dynamic, and (with some minor modification) it works now as intended.
This is for a ticket & seating program, so if, in the future, the seating array is expanded (to up to 8060 entries), it would be terrific if the program doesn't crash.
Using HUGE for this application, the program runs out of memory under the same practical conditions as it would without HUGE.
------------------
Dan N
Leave a comment:
-
>"Static array exceeds 64k" when I try to compile
You can't use "STATIC" with HUGE or VIRTUAL.
Then again, if you make the arrays DYNAMIC you may not even require HUGE or VIRTUAL.
See help file, Language Reference, "DIM" for complete explanation.
Leave a comment:
-
(Sorry for the slow reply)
Thanks! That is certainly helpful! Still haven't managed to get these methods to work in my case, but gets things closer.
------------------
Dan N
Leave a comment:
-
Dan,
check out DIM HUGE and DIM VIRTUAL if you want to exceed 64k
Paul.
[This message has been edited by Paul Dixon (edited March 13, 2006).]
Leave a comment:
-
64k array size limit
Hello,
I receive the message "Static array exceeds 64k" when I try to compile.
Is there any way to get around this (besides decreasing the size of the array, using multiple arrays, or using a multi-dimensional array)?
Thanks!!
------------------
Dan NTags: None
Leave a comment: