Lucee Function Reference
Function BITMASKSET
Performs a bitwise mask set operation.
Example
bitmaskset(number number,number mask,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 |
mask | number | Yes | integer mask |
start | number | Yes | Integer, in the range 0-31, inclusive; start bit for mask |
length | number | Yes | Integer, in the range 0-31, inclusive; length of mask |