I have just used QB64 for the first time and have compiled my first (very short) EXE program OK. However, when it finishes it is leaving the CMD window open. I have used SHELL EXIT as the last line, which I thought should automatically shut it, but it does not. I am using Windows & 64bit. Can anyone help please?
Thanks.
NEWBIE can't close CMD window
- burger2227
- Veteran
- Posts: 2466
- Joined: Mon Aug 21, 2006 12:40 am
- Location: Pittsburgh, PA
Re: NEWBIE can't close CMD window
Use SYSTEM at the end of code or you need to press a key after code has run.
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0
Re: NEWBIE can't close CMD window
Thank you for swift reply. Sorted!