Indy 9 | Content | Index | Reference

ROL
See Also, Unit: IdGlobal
Calculates a rotated-left value.

    function ROL(AVal: LongWord; AShift: Byte): LongWord;

Unit
IdGlobal
Parameters
shift
The number of bits to be rotated.
val
Value to be rotated.
Return Value
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.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.