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).

Home > Class Reference > %SYS namespace > %SYSTEM.Bit


abstract class %SYSTEM.Bit extends %SYSTEM.Help

This class provides various $bit support functions.

You can use it via the special $system object:

  Set x=$system.Bit.StringToBit($c(1,5))

Method Inventory


classmethod StringToBit(val) as %String
Converts a string to a $bit string
classmethod ZBitToBit(val) as %String
Converts a legacy DTM-style $zbit* string to a $bit string

Inherited Members

Inherited Methods