if
Author |
Message |
rollerdude
|
Posted: 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
|
|
|
Delos
|
Posted: 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
|
Posted: 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
|
|
|
|
|
rollerdude
|
Posted: 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
|
Posted: 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! |
|
|
|
|
|
|