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

Used to perform a bitwise implication on two numeric expressions.
result = expression1 BitImp expression2
The BitImp operator syntax has these parts:
result Any numeric variable.
expression1 Any expression.
expression2 Any expression.
The BitImp operator performs a bitwise comparison of identically positioned bits in two numeric expressions and sets the corresponding bit in result according to the following table:
If bit in expression1 is If bit in expression2 is The result is
0 0 1
0 1 1
1 0 0
1 1 1
See Also

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