bitrotatel()

Function groupExecute on clientPlatform(s)
Binary fieldNOAll

Syntax

bitrotatel(binary,count)

Description

Rotates a binary field to the left, by 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. The vacated bits are replaced by the bits shifted off the left-hand end. If the specified number of bits is greater than the bit-length of the field, Omnis returns 0, and the field is unchanged.

Example

Calculate
 
lStatus
 as 
bitrotatel
(
lBinary
,
lCount
)