Function NumRoL() Foundation

Left rotation of a 16 bit integer.

Syntax
NumRoL( <nInteger1|cHex1>  , ;  // Type: NC
        [<nInteger2|cHex2>], ;  // Type: NC
        [<lEightBitsOnly>]   ;  // Type:  L   Default: .F.
      ) --> nLeftRotatedInteger
Description

<nInteger1> is a 16 bit integer which may be specified alternatively as a string coded as a hexadecimal number. This integer is left rotated.

<nInteger2> specifies how many rotations are to be performed.

It must be in the range of 1 to 15 (lEightBitsOnly == .F.) or

1 to 7 (lEightBitsOnly == .T.).

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.