BitMaskSet()
Performs a bitwise mask set operation.
BitMaskSet( number=number, mask=number, start=number, length=number );
Returns: Number
Examples
The following code example will output an example numbers returned from the bitMaskSet() function.
writeOutput(bitMaskSet(255, 255, 5, 5));
writeOutput("<br>");
writeOutput(bitMaskSet(255, 15, 0, 4));
See also
- Numbers
- Math
- numeric.bitMaskSet()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)