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

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




PostPosted: Thu Jan 11, 2007 4:10 pm   Post subject: Turing exit program

I'm writing a program and I need help on a code. My teacher asks that we write a code that exits turing using clickable buttons. Can anyone help me with it?
Sponsor
Sponsor
Sponsor
sponsor
Clayton




PostPosted: Thu Jan 11, 2007 4:12 pm   Post subject: Re: Turing exit program

could we see some code so that we can help you figure out where you're going wrong? It just makes it easier for us to help you.
quanja




PostPosted: Thu Jan 11, 2007 4:48 pm   Post subject: RE:Turing exit program

I will post once I get back to school. I just actually wanted to know the code that exits turing
ericfourfour




PostPosted: Thu Jan 11, 2007 5:01 pm   Post subject: Re: Turing exit program

To exit a Turing program, the program has to finish. There is no specific command. It just happens.

I think what you are asking is if you can close the run window. Well, the easy way to handle this would be to create a new window:
Turing:
var window : int := Window.Open ("graphics:max;max")

Run your code:
Turing:
...
put "Hello World!"
...

Then close the window:
Turing:
Window.Close (window)
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: