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

ビット演算AND

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

パラメータ

名前タイプデータタイプ記述
Result*Result (任意)整数結果のビット
With*Input整数比較の値

詳細

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

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

参照

すべてのコンポーネント クラス

テクニカルリファレンス

EPC150060 - December 2023