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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

what can you do to increase stack space?

Status
Not open for further replies.

fetalmind37

Programmer
Apr 27, 2002
6
US
Yeah, I am a reletivly new programmer, and don't really know too many things. If you run out of stack space what can you do?
 
There is no reasons to manage stack in BASIC for novices.
Look for error in your program (or algorithm).
If you want to see, what happend if you change stack size - use CLEAR operator (parameters described in Help system and manual)
 
Usually running out of stack space, especially for new programmers, is from either recursive functions that don't terminate calling themselves, or GOSUB statements that never RETURN.
 
well i am porposefully trying to make the programm look glitchy calling the sub from itself and so on, but only with a for next, so it should run out of stack space, or else i just dont understand how that works.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top