JCL Help:LRot@Byte@TBitRange

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Left rotates bits.


Pascal

 function LRot(const Value: Byte; const Count: TBitRange): Byte; overload;
function LRot(const Value: Word; const Count: TBitRange): Word; overload;
function LRot(const Value: Integer; const Count: TBitRange): Integer; overload;
function LRot(const Value: Int64; const Count: TBitRange): Int64; overload;


Parameters

Parameters Description
const Value: Byte The Value whose bits to rotate.
Mask The number of times to rotate.


Return Value

The resulting integer after the rotation is performed.


Description

LRot shifts the bits in Value the specified number (Count) of times to the left. On each shift the bit in the highest bit position wraps around into the lowest.


See Also

RRot


About

Unit

JclLogic


Donator

Marcel van Brakel


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page