bitshiftr()

Function groupExecute on clientPlatform(s)
Binary fieldNOAll

Syntax

bitshiftr(binary,count)

Description

Shifts a binary field to the right 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 the right-most bit are lost.

Example

Calculate
 
lStatus
 as 
bitshiftr
(
lBinary
,
lCount
)