ROR(a, n)
Rolls the bits in a to the right n times.
Parameters
a(DINT or DWORD)
The value to shift.
n(DINT)
The number of times to shift a. n must be between 0 and 31.
Return Value
Returns the same data type as a.
Remarks
The result of an invalid n is undefined.
Examples
ROR(16#0000000F, 2) returns 16#C0000003
See Also
ROL Function | SHR Function | SHL Function | ASHR Function | Standard Functions
Copyright © 2024 Delta Computer Systems, Inc. dba Delta Motion