[QUOTE=Rogerdodger91;1028992]So if statements dont have to be paired with else? for instance
Code:
if (x == 1)
Just a quick note, I'm sure it's just a typo, but be careful of = vs ==. A single = is for assignment, a double == for comparison. When used in a conditional expression, x = 1 is always true, and it sets x to 1, possibly changing it's value. So in the example you posted, blah would always get executed. You probably want that second = in your code sample.