EasyManua.ls Logo

Crestron SIMPL+ - RotateRight Function

Crestron SIMPL+
374 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Software Crestron SIMPL+
®
106 z SIMPL+
®
Language Reference Guide - DOC. 5797G
RotateRight
Name:
RotateRight
Syntax:
INTEGER RotateRight( INTEGER X, INTEGER Y );
Description:
Rotate X to the right by Y bits; full 16 bits used. Same as }} operator. e.g.: Each bit
takes the value of the bit that is Y bits more significant than it is. The most significant
bit(s) are set from the least significant bits.
Parameters:
X is the INTEGER to have bits rotated
Y is the amount of bits to rotate
Return Value:
An INTEGER containing the result of the rotated bits.
Example:
INTEGER X, Y, result;
result = RotateRight( X, Y );
If X = 0x1234 and Y is 1 then result is 0x091A
Version:
SIMPL+ Version 3.01.06

Table of Contents

Other manuals for Crestron SIMPL+

Related product manuals