Long Integer Intrinsic Functions - BitAnd Method

Bitwise And

Member of Long Integer Intrinsic Functions (PRIM_LIBI.ILongIntegerIntrinsics)

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)
        * Bit 4 is on
Else
        * Bit 4 is Off
Endif


See also

All Component Classes

Technical Reference

  • No labels