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

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




PostPosted: Tue Nov 03, 2009 8:49 am   Post subject: End instruction

Hi!
I am trying to make a little program, but I would like to know what is the instruction to stop the execution of a program in Turing.
Can someone help me please?

Thanks,
Leyto24
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Tue Nov 03, 2009 9:07 am   Post subject: RE:End instruction

return or quit, depending on where you are in the program.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Chaoskiller




PostPosted: Tue Nov 03, 2009 10:54 pm   Post subject: RE:End instruction

wouldnt exit when be another way to exit if you are in a loop?
Tony




PostPosted: Tue Nov 03, 2009 11:12 pm   Post subject: RE:End instruction

Yes. Reaching the end of the source file with the use of exits will also finish the program.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Leyto24




PostPosted: Wed Nov 04, 2009 9:05 am   Post subject: Re: End instruction

thanks dude
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  [ 5 Posts ]
Jump to:   


Style:  
Search: