Performs a bitwise mask read operation.

Returns an integer, created from length bits of number,

beginning at start.

Lucee Function Reference

## Function *BITMASKREAD*

## Example

bitmaskread(number number,number start,number length):number

## Arguments

The arguments for this function are set. You can not use other arguments except the following ones.

Name | Type | Required | Description |
---|---|---|---|

number | number | Yes | a integer to mask |

start | number | Yes | Integer, in the range 0-31, inclusive; start bit for read |

length | number | Yes | Integer, in the range 0-31, inclusive; length of mask |