Caché Basic Reference
BitNot Operator
[Home] [Back] [Next]
InterSystems: The power behind what matters   

Used to perform bitwise negation on a numeric expression.
result = BitNot expression
The BitNot operator syntax has these parts:
result Any numeric variable.
expression Any expression.
The BitNot operator inverts the bit values of any variable and sets the corresponding bit in result according to the following table:
Bit in expression Bit in result
0 1
1 0
See Also

Send us comments on this page
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA