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

Username:   Password: 
 RegisterRegister   
 Switches in Turing
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Mr. Glib




PostPosted: Tue Nov 09, 2004 7:22 pm   Post subject: 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
Sponsor
Sponsor
Sponsor
sponsor
wtd




PostPosted: Tue Nov 09, 2004 7:33 pm   Post subject: (No subject)

code:
case foo of
   label 0: put "yo"
   label 1: put "oy"
end case
Mr. Glib




PostPosted: Tue Nov 09, 2004 9:16 pm   Post subject: (No subject)

wtd wrote:
code:
case foo of
   label 0: put "yo"
   label 1: put "oy"
end case


Rolling Eyes
wtd




PostPosted: Tue Nov 09, 2004 10:31 pm   Post subject: (No subject)

Where "foo" is an integer variable.
Mr. Glib




PostPosted: Wed Nov 10, 2004 6:01 pm   Post subject: (No subject)

wtd wrote:
Where "foo" is an integer variable.


[chatters excitedly] Very Happy
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: