Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.Opens in a new tab

For information on migrating to InterSystems IRISOpens in a new tab, see Why Migrate to InterSystems IRIS?

$ZBITCOUNT (従来の関数)

ビット文字列関数 – COUNT

Synopsis

$ZBITCOUNT(bitstring)

概要

ここでは、従来の関数である $ZBITCOUNT について説明します。ここでは、従来のアプリケーションとの互換性について説明します。

$ZBITCOUNT は、bitstringON ビット (1) の数を返します。

bitstring = [0,0,1,1,0] の場合、$ZBITCOUNT の結果は 2 になります。

関連項目

FeedbackOpens in a new tab