
-----------------------------------
Mint
Thu Feb 26, 2004 9:28 pm

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

-----------------------------------
Andy
Thu Feb 26, 2004 9:30 pm


-----------------------------------
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

-----------------------------------
recneps
Thu Feb 26, 2004 9:31 pm


-----------------------------------
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! :D

-----------------------------------
Mint
Thu Feb 26, 2004 9:34 pm


-----------------------------------
Thank you, appreciated much is your help.

-----------------------------------
BlAcK TuRtLe
Sun Feb 29, 2004 4:16 pm


-----------------------------------
wow four posts in 6 minutes. Also don't forget your ,= operators

-----------------------------------
GUI.GetScrollBarWidth : i
Wed Mar 03, 2004 2:23 pm


-----------------------------------
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

-----------------------------------
shorthair
Wed Mar 03, 2004 5:04 pm


-----------------------------------
GUI.GetScrollBarWidth SAID : 
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
