Kernel 8.0 APIs Banner
Office of Information and Technology (OIT) Banner
[skip navigation]

$$AND^XLFSHAN(): Bitwise Logical AND

Reference Type: Supported, Category: Bitwise Logic Functions, ICR#: 6157

Description

The $$AND^XLFSHAN" extrinsic function performs a bitwise logical AND of two 32 bit integers.

NOTE: This API was released with Kernel Patch XU*8.0*657.

Format

  $$AND^XLFSHAN(x,y)

Input Parameters

x:

(required) An integer of 32 bits or less.

y: (required) An integer of 32 bits or less.

Output

returns:

Returns the bitwise logical AND.

Example

>W $$AND^XLFSHAN(345,123)
89