About negation
#8

Quote:
Originally Posted by Angel φ
You didn't understand me. I know that , but if i use ELSE , what he will choose ?
if( var && var2 ) //both are equal to true
something
else //both are equal to false
something

That's what you wanted to know, right?

If you'd use
if( var || var2 ) //var OR var 2 are equal to true
something
else //neither var OR var 2 are equal to true (both are equal to false)
something

That would happen
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: 1 Guest(s)