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

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




PostPosted: Wed Sep 15, 2004 11:09 am   Post subject: if

useing an if, can i use it to ativate different loops preveiosly done in the code?
like use an if to reinitiate the begiining of the program without having to write it out agian?
Sponsor
Sponsor
Sponsor
sponsor
Delos




PostPosted: Wed Sep 15, 2004 11:34 am   Post subject: (No subject)

Hmm...you sound like a Basic person type programmer...what with your 'goto' ideas...

To answer your question, yes, they can.

Now go read up in the Tutorials on Ifs, Procedures, Loops.
I'm not going to post links for you since I did that in your other thread (for other places...but well, you know...it's not too difficult to find such things)
Dan




PostPosted: Wed Sep 15, 2004 1:04 pm   Post subject: (No subject)

Well u can do it but it is not the same as a goto, goto is ushely consider very bad progaming in the modern progaming langs such as turing. You whould your progmages to flow and not jump.

Lucky turing dose not have a goto comand witch i think was one of the few good ideads holth had if they whonted to make a lang to teach poleop how to progame.
Computer Science Canada Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more!
Tony




PostPosted: Wed Sep 15, 2004 1:14 pm   Post subject: (No subject)

this is what you're looking for
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
rollerdude




PostPosted: Wed Sep 15, 2004 4:18 pm   Post subject: (No subject)

u r right, i am a basic programmer, considering i've only done it for 7 days! (during programming class)
Dan




PostPosted: Wed Sep 15, 2004 5:26 pm   Post subject: (No subject)

rollerdude wrote:
u r right, i am a basic programmer, considering i've only done it for 7 days! (during programming class)


I think he ment a Basic programmer in that u have programed with the progaming languge Basic or QBasic or VB. Not that ur skill is basic.
Computer Science Canada Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more!
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  [ 6 Posts ]
Jump to:   


Style:  
Search: