Computer Science Canada

exit window

Author:  rollerdude [ Wed Sep 15, 2004 11:11 am ]
Post subject:  exit window

howdo i make it so that when the program is finished, the window closes by itself?

Author:  Delos [ Wed Sep 15, 2004 11:30 am ]
Post subject: 

code:

var win : int
win := Window.Open ("graphics")

put "Hello World"

delay (100)

Window.Close (win)


Read up on Window. routines in the help manual.

Also:
Window stuff by short1

Author:  beard0 [ Wed Sep 15, 2004 1:09 pm ]
Post subject: 

Also, for compiled programs, when you compile it, you can specify to close the window when it's done.

Author:  Tony [ Wed Sep 15, 2004 1:17 pm ]
Post subject: 

i'm guessing that the question here is about closing the program, now a window window Razz

so what beard0 said - you have this option at compiletime. To end the program you use quit


: