Public Function EqvValues( _ ByVal vOne As Variant _ , ByVal vTwo As Variant _ ) As Variant
EQV Var2 0 1 +----- Var1 0 | 1 0 1 | 0 1Examples:
EqvValues(23, 45) = -59 EqvValues(23, "A") = Chr$(255) + Chr$(169) EqvValues("A", "B") = Chr$(252)See also:
ImpValues Function XorValues FunctionvOne: First of two values whose corresponding bits are to be operated upon.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.