Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Conditions

Name: Anonymous 2011-09-03 10:01

Is it not possible to use
if(0<x<10){}

or do you have to use
if(x>0&&x<10){}

?

Name: Anonymous 2011-09-03 11:06

>>3
It evaluates to the exact same thing, since < and > operators have higher priority than && operator, but it looks nicer.

You're mixing up operator precedence with associativity. Now shut up and go clean another toilet you mental midget.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List