On  Sunday, October 08, 2000  at  14:35:51 GMT -0700 (which was 2:35 PM
where I live) witnesses say Januk Aggarwal typed:

> Not(A or B) = Not(A) and Not(B)

> On the other hand:

> Not(A) or Not(B) = Not( A and B)

> Check the truth tables for these operations to see the difference.  If
> you need help doing that, let me know and I'll try to show it to you.

Ok, I'm replying to myself, but I think this is worth the effort.

So in the example above, the letters 'A' and 'B' are expressions which
can be true or false.  In TB the specific expression is:
Is the string in the specified location?

So if we use
| = Or
& = and
! = Not

 A        B        A|B      !(A|B)    A&B    !(A&B)    !A    !B     !A|!B    !A&!B
 Yes      Yes      Yes      No        Yes     No       No    No      No       No
 Yes      No       Yes      No        No      Yes      No    Yes     Yes      No
 No       Yes      Yes      No        No      Yes      Yes   No      Yes      No
 No       No       No       Yes       No      Yes      Yes   Yes     Yes      Yes


-- 
Thanks for writing,
 Januk Aggarwal
 See header for e-mail address

 Using The Bat! 1.47 Beta/7
 under Windows 98 4.10 Build 2222  A 

-- 
--------------------------------------------------------------
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   <mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
   <mailto:[EMAIL PROTECTED]>
--------------------------------------------------------------

You are subscribed as : [email protected]


Reply via email to