View Single Post
Old May 4th, 2008, 10:19 AM   #2
Klarre
Game engine designer
 
Klarre's Avatar
 
Join Date: May 2005
Location: Sweden
Posts: 288
Rep Power: 4 Klarre is on a distinguished road
Re: Simple if statement question :(

Error:
if (sum > 10) && (sum >50)

Should be:
if ( (sum > 10) && (sum >50) )
__________________
http://www.klarre.se
Klarre is offline   Reply With Quote