Início > lang > ror 
 en fr de es it nl pl pt mk sq ca hu cs tr ar fa id vi ko ja ru zh zh_TW eo
Anterior  Próximo  Editar  Renomear  Desfazer  Procurar  Administração  
Documentação  
Cuidado! Esta página não está traduziada.  Veja a versão em inglês 
Ror
Value = Ror ( Number , Bit )

Returns Number with Bit bits right 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.

Erros

MensagemDescrição
Tipo não compatível ( The datatype of the Number argument is not valid.
Mau argumento ( The Bit argument is out of range.

Exemplo

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

81234567

Veja também

Funções de Manipulação de Bits, Operadores Lógicos