Integer Intrinsic Functions - BitAnd Method

Bitwise And

Member of Integer Intrinsic Functions (PRIM_LIBI.IIntegerIntrinsics)

Parameters

NameTypeData TypeDescription
Result*Result (Optional)IntegerResulting bit
With*InputIntegerComparison 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

Febuary 18 V14SP2