JCL Help:RRot@Byte@TBitRange

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Right rotates bits.


Pascal

 function RRot(const Value: Byte; const Count: TBitRange): Byte; overload;
function RRot(const Value: Word; const Count: TBitRange): Word; overload;
function RRot(const Value: Integer; const Count: TBitRange): Integer; overload;
function RRot(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

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


See Also

LRot


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