You both posted in html, rather than text mode. Joel Goldstick <joel.goldstick at gmail.com> Wrote in message: > > > > 1. what is line means? mask[c] |= bit > This bitwise or. It sets the rightmost bit in masks[c] Only the first time through the loop, when bit == 1 -- DaveA