Caché ObjectScript Reference
$ZBITNOT (legacy function)
[Home] [Back] [Next]
InterSystems: The power behind what matters   

Bitstring function – NOT
This page describes the legacy function $ZBITNOT. It is described here for compatibility with legacy applications.
$ZBITNOT returns a permutation of bitstring with each of its bit positions inverted -- that is, 1s become 0s, and 0s become 1s.
If bitstring=[0,0,1,1,0], then the result of $ZBITNOT would be a bitstring with the value [1,1,0,0,1].
See Also

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