Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"out of memory" problem, can anyone help?...
#1
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
Reply
#2
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
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#3
use integers.
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
Reply
#4
Huh? Wink


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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)