Internet Direct (Indy)
Home
PreviousUpNext
ROR Function

Calculates a rotated-right value.

Pascal
function ROR(
    AVal: LongWord; 
    AShift: Byte
): LongWord;
Parameters 
Description 
val 
The value to rotated right.
 
shift 
The number of bits to be rotated. 

LongWord - The result of the rotate-right operation.

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

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.