Restored from previous forum. Originally posted by CONVERT.
Try this :
OpenConsole()
PrintN("Hello")
Delay(1000)
PrintN("The Console is closed")
CloseConsole()
Delay(5000)
MessageRequester("","It is the end.",0)
End
It seems that the closeconsole() does not work, even with the option compiler "Console".
It is not important. Just to say...
Windows 98 SE, PB 3.61.
Jean, France.
CLOSECONSOLE
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by tinman.
The console always closes at the correct time when I do not have the debugger enabled or if I do not use the debug command.
--
I used to be a nihilist but I don't believe in that any more.
(Win98first ed. + all updates, PB3.62, external editor)
I sometimes find that the console window does not close if I have the debugger enabled and I use the Debug command, but it is not all the time. The console window does close when I quit the debugger.Originally posted by CONVERT
It seems that the closeconsole() does not work, even with the option compiler "Console".
The console always closes at the correct time when I do not have the debugger enabled or if I do not use the debug command.
--
I used to be a nihilist but I don't believe in that any more.
(Win98first ed. + all updates, PB3.62, external editor)
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm