
-----------------------------------
rollerdude
Wed Sep 15, 2004 11:09 am

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?

-----------------------------------
Delos
Wed Sep 15, 2004 11:34 am


-----------------------------------
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
Wed Sep 15, 2004 1:04 pm


-----------------------------------
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.

-----------------------------------
Tony
Wed Sep 15, 2004 1:14 pm


-----------------------------------
[url=http://www.compsci.ca/v2/viewtopic.php?t=370]this is what you're looking for

-----------------------------------
rollerdude
Wed Sep 15, 2004 4:18 pm


-----------------------------------
u r right, i am a basic programmer, considering i've only done it for 7 days! (during programming class)

-----------------------------------
Dan
Wed Sep 15, 2004 5:26 pm


-----------------------------------
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.
