Integer Intrinsic Functions - BitAnd Method
Bitwise And
Member of Integer Intrinsic Functions (PRIM_LIBI.IIntegerIntrinsics)

Parameters

Name

Type

Data Type

Description

Result

*Result (Optional)

Integer

Resulting bit

With

*Input

Integer

Comparison value

Details


BitAnd performs a logical bitwise And.
The BitXXX Intrinsic Functions are available in LANSA to support the use of binary bit masks.

Example


If (#Integer.BitAnd( 4 ) = 4)