To demonstrate bitwise concepts, this article shows you how to store an array of Boolean flags within a single numeric variable.
Using Logical Operators with Non-Boolean Expressions
February 27, 2008 by
Although VB’s logical operators are conceptually quite simple, they can be the source of elusive bugs.