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 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.