IntegralEnumeration組み込みファンクション - BitAndメソッド 

ビット演算AND

IntegralEnumeration組み込みファンクション (PRIM_LIBI.IIntegralEnumerationIntrinsics) のメンバ

パラメータ

名前

タイプ

データタイプ

記述

Result

*Result (任意)

整数

結果のビット

With

*Input

整数

比較の値

詳細

BitAnd は、論理ビット単位 AND を実行します。 

LANSA では、バイナリー・ビット・マスクの使用をサポートする BitXXX 組み込みファンクションを利用できます。

     If (#Integer.BitAnd( 4 ) = 4)
* Bit 4 is on
Else
* Bit 4 is Off
Endif


参照

すべてのコンポーネント クラス
テクニカルリファレンス

  • No labels