BitMaskClear

Performs a bitwise mask clear operation.

Returns: number

Usage

BitMaskClear( number, start, length )

Arguments

Argument Description
number
(number, required)

a integer

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

The following code example will output an example numbers returned from the bitMaskClear() function.

<cfoutput>#bitMaskClear(255, 5, 5)#</cfoutput>
<br>
<cfoutput>#bitMaskClear(255, 0, 4)#</cfoutput>

See also