Topic Path: Symbol Reference > Functions > ROL Function
ContentsIndexHome
PreviousUpNext
ROL Function

Calculates a rotated-left value.

File
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.

Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.