Page 1 of 1

NEWBIE can't close CMD window

Posted: Mon Jan 30, 2017 8:09 pm
by DWBC
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.

Re: NEWBIE can't close CMD window

Posted: Tue Jan 31, 2017 9:54 am
by burger2227
Use SYSTEM at the end of code or you need to press a key after code has run.

Re: NEWBIE can't close CMD window

Posted: Tue Jan 31, 2017 11:02 am
by DWBC
Thank you for swift reply. Sorted! :D