Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Out of Stack Space
#11
as you can see that may be kind of hard they way my game is made =\
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Reply
#12
You could comment out all ON ERROR lines, maybe error routines are masking the real problem.
The error could be in the error routine. You're ending it with a RESUME and you're not doing anything to correct the causes of the error. That's could generate a new error on return and an endless loop. See if you can modify your code to change resume to RESUME NEXT.

If afther this the program still breaks, check CALLS in the menu to see the call stack to see if it's correct. You could be calling B from A and A from B, thus making an infinite loop loop that overflows ths stack.

Finally your program could be OK, only it needs a lot of space for temporal variables and the standard stack is not enough for it. Use CLEAR at the very top of the program (it erases all variables!) to change the stack size.
Antoni
Reply
#13
CLEAR ,, stack

Get used to putting that in front of huge projects Wink
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)