Crestron simpl plus language ref 사용자 설명서

다운로드
페이지 374
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