Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I have a problem with stack space

Status
Not open for further replies.

Qbasic

Programmer
Jun 21, 2000
1
GB
When I run my game I have a problem with stack space, can someone help me!! I get an error message half way through saying run out of stack spacethanksQbasic
 
What OS are you using? <p> <br><a href=mailto: > </a><br><a href= > </a><br>If a tree falls in the forest and there's no one around, does it make sound? Its not the sound that matters, but the silence it leaves behind.
 
You might try a CLEAR statement at the beginning of your program to add a little extra stack space. CLEAR ,,4000 adds 4000 bytes of stack space over the top of what QB thinks it will need.<br>Increase the value until you stop getting the error.<br>If you don't stop getting the error you might have a wicked little recursion problem with one of your functions or subroutines. That's a logic problem that won't be fixed with one line of code.<br> <p> <br><a href=mailto: > </a><br><a href= plain black box</a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top