Harald Welte wrote: > that one won't work since it uses bit-wise or | rather than logical or || In ANSI C, the value of a relational expression is 0 or 1, so this would actually work. I wouldn't consider it good practice, though, for a number of reasons. Also, those extra parentheses are some ancient Pascalism ... Cheers, Werner