[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 264: mysqli_fetch_assoc(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 326: mysqli_free_result(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 264: mysqli_fetch_assoc(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 326: mysqli_free_result(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027)
Pete's QBASIC Site • NEWBIE can't close CMD window
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