News for hackers. Stuff that matters.
Re:The best QBasic game ever? by daigoba66 on Wednesday April 17, 2013 @07:01AM (#5563720)
I wrote a game in QBasic when I was 10. At the time I didn't understand the concept of a sub routine _returning_ after being called. So the end of each sub just called another sub (perhaps even the calling sub to create loops). You won by beating the game before getting a stack overflow.
Re:The best QBasic game ever? by blablabla123 on Wednesday April 17, 2013 @07:26AM (#5563804)
I also used QBasic as a child, I had some GWBasic book as references which rooouuughly matched the Syntax and provided functions. But I also remember not really understanding sub routines... Anyway, this was my experience with goto and good old fashioned spaghetti code ;)