Public Function AndValues( _ ByVal vOne As Variant _ , ByVal vTwo As Variant _ ) As Variant
AND Var2 0 1 +----- Var1 0 | 0 0 1 | 0 1Examples:
AndValues(23, 45) = 5 AndValues(23, "A") = Chr$(0) + Chr$(1) AndValues("A", "B") = Chr$(64) = "@"See also:
NandValues Function OrValues Function StringCharactersBitwiseAndNumber FunctionvOne: First of two values whose corresponding bits are to be operated upon.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.