<-- Previous || Up || Next -->

Nor Values Function
Bitwise Class

Public Function NorValues( _
      ByVal vOne As Variant _
    , ByVal vTwo As Variant _
    ) As Variant

"Binary Not Or"
Perform the logical "Nor" ("Not Or") operation on the corresponding bits from two values.

Truth table:
    NOR     Var2
             0 1
           +-----
    Var1 0 | 1 0
         1 | 0 0
Examples:
    NorValues(23, 45) = -64
    NorValues(23, "A") = Chr$(255) + Chr$(168)
    NorValues("A", "B") = Chr$(188)
See also:
    OrValues Function
    NandValues Function
vOne: First of two values whose corresponding bits are to be operated upon.
vTwo: Second of two values whose corresponding bits are to be operated upon.
Note: This function uses the FixUpBitwiseArguments function to decide how the bits within the two values should be coerced to Strings then aligned.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.