10 16 6 BitAnd

LANSA Technical

10.16.6 BitAnd

BitAnd performs a logical bitwise and.

The BitXXX Intrinsic Functions are available in LANSA to support the use of binary bit masks.

Input Parameters

None

Example

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

 

* Bit 4 is on

 

Else

 

* Bit 4 is Off

 

Endif

 

Ý 10.16 Integer Intrinsic Functions