Name
BitMaskClear
Synopsis
BitMaskClear(number, startbit, length
)
Returns
number
bitwise cleared with
length
bits beginning at the bit specified
by startbit
. Both
startbit
and
length
must be integers between 0 and 31.
Examples:
<cfoutput> BitMaskClear(127,0,1): #BitMaskClear(127,0,1)#<br> BitMaskClear(255,3,3): #BitMaskClear(255,3,3)#<br> BitMaskClear(511,2,4): #BitMaskClear(511,2,4)#<br> BitMaskClear(1023,4,25): #BitMaskClear(1023,4,25)#<br> BitMaskClear(2047,7,4): #BitMaskClear(2047,7,4)# </cfoutput>
Get Programming ColdFusion MX, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.