الرئيسية > lang > rol 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr fa id vi ko ja ru zh zh_TW eo
السابق  التالي  تحرير  إعادة تسمية  تراجع  بحث  الإدارة  
المستندات  
تحذير! هذه الصفحة لم يتم ترجمتها.  See english version 
Rol
Value = Rol ( Number , Bit )

Returns Number with Bit bits left rotated.

The type of Number may be Byte, Short, Integer, or Long.

The valid range of Bit depends on the type of the Number argument.

Type of Number Range of Bit
Byte 0...7
Short 0...15
Integer 0...31
Long 0...63

The datatype of the return value is the datatype of Number.

أخطاء

رسالةالوصف
Type mismatch (6) The datatype of the Number argument is not valid.
البرهان خاطي (20) The Bit argument is out of range.

مثال

PRINT Hex$(Rol(&H12345678, 4))

23456781

إنظر أيضا

Bits Manipulation Functions, Logical Operators