
-----------------------------------
Leyto24
Tue Nov 03, 2009 8:49 am

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

-----------------------------------
Tony
Tue Nov 03, 2009 9:07 am

RE:End instruction
-----------------------------------
[tdoc]return[/tdoc] or [tdoc]quit[/tdoc], depending on where you are in the program.

-----------------------------------
Chaoskiller
Tue Nov 03, 2009 10:54 pm

RE:End instruction
-----------------------------------
wouldnt exit when be another way to exit if you are in a loop?

-----------------------------------
Tony
Tue Nov 03, 2009 11:12 pm

RE:End instruction
-----------------------------------
Yes. Reaching the end of the source file with the use of [tdoc]exit[/tdoc]s will also finish the program.

-----------------------------------
Leyto24
Wed Nov 04, 2009 9:05 am

Re: End instruction
-----------------------------------
thanks dude
