Can't understand
#4

Quote:
Originally Posted by MenaceX^
if(variable==1)
and
if(variable)
they are the same.
also
if(variable==0)
and
if(!variable)
are same aswell.
No it isn't dude, "== 1" means it equals one.

pawn Код:
if ( blah == 1 )   //equals one
if ( blah )     //is true, is NOT false
if ( !blah )     //is false, is NOT true
Reply


Messages In This Thread
Can't understand - by russiany - 29.05.2009, 18:26
Re: Can't understand - by MenaceX^ - 29.05.2009, 19:36
Re: Can't understand - by Felle - 29.05.2009, 20:02
Re: Can't understand - by Donny_k - 29.05.2009, 21:51

Forum Jump:


Users browsing this thread: 2 Guest(s)