Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Previous sectionNext section

$ZBITNOT (legacy function)

Bitstring function – NOT

Synopsis

$ZBITNOT(bitstring)

Description

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.

Example

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