Computer Science Canada

If statements

Author:  Mint [ Thu Feb 26, 2004 9:28 pm ]
Post subject:  If statements

Hey, I'm pretty new to turing, and I'm learning turing pretty much on my own, ahead of the class. And I was woundering if anyone could clarify "If" statements. I've searched the interweb and the forums and have found nothing. If there is a tutorial please post the url, 't would be quite helpful.
Thanks in advance.

-Mint

Author:  Andy [ Thu Feb 26, 2004 9:30 pm ]
Post subject: 

seeing that ur new here, i'm not gonna flame u, nxt time plz check the tutuorial section first...

http://www.compsci.ca/v2/viewtopic.php?t=367

Author:  recneps [ Thu Feb 26, 2004 9:31 pm ]
Post subject: 

There is tutorial under "Tutorials" or you could just search. and even in the turing refernce, go index, and look for "If" and you would see

if %begins and if statement. (eg. if var=1 then....)
elsif %for having another part to it(eg. if var1=1 then..... elsif var2=2 then... etc)
%and
else %for anything that you have not specified in If or elsif.
%and
end if%end the statement

Edit: Dodge is fast! Very Happy

Author:  Mint [ Thu Feb 26, 2004 9:34 pm ]
Post subject: 

Thank you, appreciated much is your help.

Author:  BlAcK TuRtLe [ Sun Feb 29, 2004 4:16 pm ]
Post subject: 

wow four posts in 6 minutes. Also don't forget your <,>,<=,>= operators

Author:  GUI.GetScrollBarWidth : i [ Wed Mar 03, 2004 2:23 pm ]
Post subject: 

if is special if u use if then it's i u use it u used if go to www.turing_help.com/if to use if

Author:  shorthair [ Wed Mar 03, 2004 5:04 pm ]
Post subject: 

GUI.GetScrollBarWidth SAID :
Quote:

if is special if u use if then it's i u use it u used if go to www.turing_help.com/if to use if


This problem has been solved , and there was no need to bring it up again , an especially jsut to put a smart ass remark in it, thisisnt hte spam forum and its not your little personal posting forum , we all have to see it , keep the spam on a low and dont post in old threads that have been answered many times


: