On Wed, Jun 16, 1999 at 09:47:17PM -0700, Bob Blick wrote: > Wow, that's going to take some looking at for me to absorb. Excellent! Here's another couple - slightly more readable, produces same code as my previous examples. (byte2 &= ~BITMASK2), (byte1 & BITMASK1) && (byte2 |= BITMASK2); (byte1 & BITMASK1) && (byte2 |= BITMASK2), !(byte1 & BITMASK1) && (byte2 &= ~BIT MASK2); Oh, these ones *are* tested, Bill! What color is your light-saber? Regards, Clyde -- Clyde Smith-Stubbs | HI-TECH Software Email: clyde@htsoft.com | Phone Fax WWW: http://www.htsoft.com/ | USA: (408) 490 2885 (408) 490 2885 PGP: finger clyde@htsoft.com | AUS: +61 7 3355 8333 +61 7 3355 8334 --------------------------------------------------------------------------- HI-TECH C: compiling the real world.