numeric.bitMaskClear()
Performs a bitwise mask clear operation.
numeric.bitMaskClear( start=number, length=number )
Returns: Number
Argument | Description |
---|---|
start
number,
required
|
Integer, in the range 0-31, inclusive; start bit for mask |
length
number,
required
|
Integer, in the range 0-31, inclusive; length of mask |
Examples
number = 255;
writeOutput(number.bitMaskClear(5, 5));
writeOutput("<br>");
writeOutput(255.1.bitMaskClear(0, 4));