Since pos is a QBasic program, I have some questions about QBasic.
1. When I compile my programs in QB 4.5 and run them in windows, they auto-close and people can't see the output, is their a command I can use that will stop that? (Other than unticking CLOSE ON EXIT in properties)?
QBasic Questions
Moderators:daleadmin, Dale Harris, Alan, Andrew
That's because your program executes what you tell it to then closes.
If you want it to wait for any key, use something like this at the end of your program:
If you want it to wait for any key, use something like this at the end of your program:
Code: Select all
DO : LOOP WHILE INKEY$=""
Who is online
Users browsing this forum: No registered users and 19 guests