Internet Direct (Indy) Version 9.0.2 Beta
ROL
Calculates a rotated-left value.

function ROL(val: LongWord; shift: Byte): LongWord;
Parameters
val: LongWord
Value to be rotated.

shift: Byte
The number of bits to be rotated.

Returns
LongWord - The value of the rotation.

Description
ROL is a LongWord function that returns the LongWord value calculated as the Val parameter rotated left by the number of bit positions specified in the shift parameter.