Public Function FlipBit( _
ByVal vValue As Variant _
, ByVal vBit As Variant _
) As Variant NOT
+---
0 | 1
1 | 0Examples: FlipBit(0, 5) = 16
FlipBit(-1, 5) = -17
FlipBit(255, 5) = 239
FlipBit("BC", 5) = "BS"See also: GetBit Function
SetBit FunctionvValue: Value in which the Not operation will be performed on one of its bits. Function returns Null if vValue is Null. Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.