Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [%SYSTEM] >  [Bit]
Private  Storage   

abstract class %SYSTEM.Bit extends 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))

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2


Summary

Methods
Help StringToBit ZBitToBit


Methods

• 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


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.