Re: OR

From: Date: Mon, 26 Apr 2004 00:28:59 +0000
Subject: Re: OR
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-184592@lists.php.net to get a copy of this message
According to historical records, on Sun, 25 Apr 2004 22:00:04 +0200 Marco Schuler wrote about "Re: [PHP] OR": >Hi > >Am So, 2004-04-25 um 16.00 schrieb -{ Rene Brehmer }-: >> According to historical records, on Sun, 25 Apr 2004 17:14:13 +1000 Aidan >> Lister wrote about "[PHP] OR": > >[...] > >> || && |! &! >> ^ being OR, AND, NOR, and NAND (believe NOR is actually called XOR, can't >> remember ...) > >Just to help your mind: > >NOR: > > A | B | Y >---+---+--- > 0 | 0 | 1 > 0 | 1 | 0 > 1 | 0 | 0 > 1 | 1 | 0 > >XOR: > > A | B | Y >---+---+--- > 0 | 0 | 0 > 0 | 1 | 1 > 1 | 0 | 1 > 1 | 1 | 0 Heh ... thanks Marco ... I don't recall ever having actually worked with XOR, not even in electronics class ... when I get into the more complex logics I usualy end up starting to scetch them to figure them out ... it's the pain and joy of trying to combine as many expressions into as little as possible... Rene -- Rene Brehmer aka Metalbunny ~ If you don't like what I have to say ... don't read it ~ http://metalbunny.net/ References, tools, and other useful stuff... Check out the new Metalbunny forums at http://forums.metalbunny.net/

« previous php.general (#184592) next »