19.04.2015, 15:01
What are you talking about Cruse? The exclamation mark represents a false or negative value.
if(!variable)
Means 'variable' is either 0 or less, or is false.
if(variable)
Means 'variable' is greater than 0, or true.
You have everything in reverse...
if(!variable)
Means 'variable' is either 0 or less, or is false.
if(variable)
Means 'variable' is greater than 0, or true.
You have everything in reverse...