numeric.bitMaskSet()

Performs a bitwise mask set operation.

numeric.bitMaskSet( mask=number, start=number, length=number )

Returns: Number

Argument Description
mask
number, required

integer mask

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

writeDump(10.0.bitmaskset(1,2,1));
	writeDump(5.0.bitmaskset(1,1,1));

See also