Sorry I actually meant where x was an expression, not just a variable. I should have written if (<expression>)