Hi there!
What causes a Stack Overflow Error.
I have a puzzle programme where it works once ...... maybe twice or thrice then I get a message:
Runtime error at line 668. Stack Overflow Error.
The lines in question in my programme are
665 rem Until mouse is clicked
666 do
667 mx=mousex():my=mousey():mc=mouseclick()
668 if mc=1 then gosub checkregion:return
669 loop
Is this enough information to work on? I don't want to reveal too much as my programme is a work in progress.
Any help would be much appreciated.
============ EDIT ============
OK. Found something from a previous post
Quote: "Posted: 27th Apr 2004 00:17
I think it is the way your program runs. It is bad to goto a sub then goto another sub from in that sub. It keeps pilling stuff on the stack."
but I would be interested to hear from others.
Thanks!
gearce
(GRC)
LANG MEY YER LUM REEK
My mother's menu consisted of two choices: take it or leave it.