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