Mobbs
A Large Portion, Yes
Woohoo a fellow QBasic tragic!!!
Hmm I don't use SUBS very often myself.
In fact, the program was written so long ago there's still heaps of Line Numbers in my version!
If you want variables to be set in a SUB and then be used by the main program, I'm not fully sure how to do it, or even if you can.
I know that if you set variables in the main program, and want them used by a sub, then wyou have to do something with them, can't remember what ... COMMON them or something ... otherwise they go into the sub with values of zero.
I notice that they program doesn't come with any other files ... so therefore the whole shebang is kept within the program's memory? If so, you may find that the memory won't last, there's only so much to go around. Maybe that's something to do with the module too long message.
Hmm I don't use SUBS very often myself.
In fact, the program was written so long ago there's still heaps of Line Numbers in my version!
If you want variables to be set in a SUB and then be used by the main program, I'm not fully sure how to do it, or even if you can.
I know that if you set variables in the main program, and want them used by a sub, then wyou have to do something with them, can't remember what ... COMMON them or something ... otherwise they go into the sub with values of zero.
I notice that they program doesn't come with any other files ... so therefore the whole shebang is kept within the program's memory? If so, you may find that the memory won't last, there's only so much to go around. Maybe that's something to do with the module too long message.





