[..] > Imagine fScanMode is worth 1, in binary that would be 00000001, that > operator is equivalent to fScanMode = fScanMode | 2. Now 2 is > 00000010, so the operation will give that fScanMode == 00000011. Is > that answering your question? :) In essence, it is setting the second > bit in 'less significant order' to 1. Yes thanks :) -- MVH Fredrik Modèen