Page 1 of 1

Posted: Tue Mar 25, 2003 9:18 pm
by BackupUser
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.

Posted: Tue Mar 25, 2003 10:40 pm
by BackupUser
Restored from previous forum. Originally posted by PB.

> Windows 98 SE, PB 3.61.

Convert, your app closes the console fine for me with both Win 98se and Win 2000 Pro...
But I am running PureBasic v3.62, which may make a difference. According to your post,
you are still using v3.61?

Posted: Tue Mar 25, 2003 11:59 pm
by BackupUser
Restored from previous forum. Originally posted by tinman.
Originally posted by CONVERT

It seems that the closeconsole() does not work, even with the option compiler "Console".
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.

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)

Posted: Wed Mar 26, 2003 7:58 pm
by BackupUser
Restored from previous forum. Originally posted by CONVERT.

I downloaded 3.62. It works !
Sorry. The next time, I'll check if I have the last version...

Jean, France.