About negation
#1

If i do something like this

pawn Код:
new var[2] = 1;

if(var[0] && var[1]) // code here
else // code
What will be the negation of if(var && var) ( else ) ?

1. if(!var[0] && var[1])
2. if(!var[0] && var[1])
3. if(!var[0] || var[1])
4. if(!var[0] || !var[1])

?
Reply


Messages In This Thread
About negation - by UsaBoy91 - 20.12.2009, 13:45
Re: About negation - by Donny_k - 20.12.2009, 13:54
Re: About negation - by LarzI - 20.12.2009, 13:57
Re: About negation - by UsaBoy91 - 20.12.2009, 13:59
Re: About negation - by UsaBoy91 - 20.12.2009, 14:56
Re: About negation - by Donny_k - 20.12.2009, 15:31
Re: About negation - by Luka P. - 20.12.2009, 15:34
Re: About negation - by LarzI - 20.12.2009, 15:37
Re: About negation - by UsaBoy91 - 20.12.2009, 15:47
Re: About negation - by LarzI - 20.12.2009, 15:58

Forum Jump:


Users browsing this thread: 8 Guest(s)