Internet Direct (Indy)
Home
PreviousUpNext
ROL Function

Calculates a rotated-left value.

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

LongWord - The value of the rotation.

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.

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.