"out of memory" problem, can anyone help?... - Printable Version +- Qbasicnews.com (http://qbasicnews.com/newforum) +-- Forum: QBasic (http://qbasicnews.com/newforum/forum-4.html) +--- Forum: QB Discussion & Programming Help (http://qbasicnews.com/newforum/forum-11.html) +--- Thread: "out of memory" problem, can anyone help?... (/thread-3497.html) |
"out of memory" problem, can anyone help?... - kc - 03-15-2004 What are some of the basic things to do, ie is it my codes are too long or too many variables/arrays/SUBs/ etc. Instead of bore you with the LONG codes. please give some general suggestions. Thanks kc "out of memory" problem, can anyone help?... - na_th_an - 03-15-2004 Reduce number of shared arrays. Use $DYNAMIC. Modularize your code. Be sure that you are not wasting data space. http://faq.qbasicnews.com/?blast=PushingTheLimitsOfQb "out of memory" problem, can anyone help?... - Agamemnus - 03-15-2004 use integers. "out of memory" problem, can anyone help?... - Neo - 03-16-2004 Huh? If you have many 'boolean' variables you can also use one INTEGER to store up to 16 boolean variables, instead of declaring 16 INTEGERs which can only hold 0 or FFFFh. Especially when making arrays of boolean-integers. |