
-----------------------------------
Mr. Glib
Tue Nov 09, 2004 7:22 pm

Switches in Turing
-----------------------------------
Has anyone used a switch similar to C's break in Turing? I know Turing has its own break command but it really isn't useful to stop a for loop and go to next iteration of the loop.  Any ideas or suggestions would be helpful!

Thanks.

~Mr. Glib

-----------------------------------
wtd
Tue Nov 09, 2004 7:33 pm


-----------------------------------
case foo of
   label 0: put "yo"
   label 1: put "oy"
end case

-----------------------------------
Mr. Glib
Tue Nov 09, 2004 9:16 pm


-----------------------------------
case foo of
   label 0: put "yo"
   label 1: put "oy"
end case

 :roll:

-----------------------------------
wtd
Tue Nov 09, 2004 10:31 pm


-----------------------------------
Where "foo" is an integer variable.

-----------------------------------
Mr. Glib
Wed Nov 10, 2004 6:01 pm


-----------------------------------
Where "foo" is an integer variable.

[chatters excitedly] :D
