
-----------------------------------
rollerdude
Wed Sep 15, 2004 11:11 am

exit window
-----------------------------------
howdo i make it so that when the program is finished, the window closes by itself?

-----------------------------------
Delos
Wed Sep 15, 2004 11:30 am


-----------------------------------

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:
[url=http://www.compsci.ca/v2/viewtopic.php?t=2913&highlight=window]Window stuff by short1

-----------------------------------
beard0
Wed Sep 15, 2004 1:09 pm


-----------------------------------
Also, for compiled programs, when you compile it, you can specify to close the window when it's done.

-----------------------------------
Tony
Wed Sep 15, 2004 1:17 pm


-----------------------------------
i'm guessing that the question here is about closing the program, now a window window :P 

so what beard0 said - you have this option at compiletime. To end the program you use quit
