bitshiftl()

Function group Execute on client Platform(s)
Binary Field NO All

Syntax

bitshiftl(binary,count)

Description

Shifts a binary field to the left by a number of bits specified in count. Operates directly on binary. Returns a Boolean (true for success).

The function operates directly on the argument, and returns 1 for success and 0 for failure. Vacated bits become zero. Bits shifted past bit 0 are lost.

Example

Calculate lStatus as bitshiftl(lBinary,lCount)