View Single Post
Old Sep 19th, 2005, 5:54 AM   #8
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Say that a bit pattern, Style, is 00111, and Bold is 00001. If you "not" Bold, it becomes 11110. If you OR that with Style, Style becomes 11111. That isn't removing Bold. Is that the thrust of your question? If so, you say, Style AND NOT Bold, which even sounds logical, right? Delve into some boolean algebra.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote