Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 exit window
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
rollerdude




PostPosted: 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?
Sponsor
Sponsor
Sponsor
sponsor
Delos




PostPosted: Wed Sep 15, 2004 11:30 am   Post subject: (No 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
beard0




PostPosted: Wed Sep 15, 2004 1:09 pm   Post subject: (No subject)

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




PostPosted: Wed Sep 15, 2004 1:17 pm   Post subject: (No 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
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: