nice to know demorgan's laws actually show up every now and then ;-)

-----Original Message-----
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 04, 2001 12:58 AM
To: Jason Dulberg
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] php in css not working with IF's


> Theoretically, either/or I'm assuming. If A isn't 10 or A isn't 9...

But since A cannot be both 9 and 10 at the same time, A will *always* not
be one of them.

It's exactly the same as saying: if (!(A==9 AND A==10))

Obviously A cannot be both 9 and 10 at the same time so the above will be:

  if(!(false))  which is the same as   if(true)

Some people find it helpful to draw Venn diagrams of their boolean logical
expressions.  See http://www.lib.csub.edu/infocomp/search/boolean/venn.htm
for a simple description of those.

-Rasmus


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to