Name
BitMaskSet
Synopsis
BitMaskSet(number, mask, startbit, length
)
Returns number
bitwise masked with
length
bits of
mask
beginning at the bit specified by
startbit
. Examples:
<CFOUTPUT> BitMaskSet(127,12,0,1): #BitMaskSet(127,12,0,1)#<BR> BitMaskSet(255,3,3,3): #BitMaskSet(255,3,3,3)#<BR> BitMaskSet(511,4,2,4): #BitMaskSet(511,4,2,4)#<BR> BitMaskSet(1023,0,4,25): #BitMaskSet(1023,0,4,25)#<BR> BitMaskSet(2047,247,7,4): #BitMaskSet(2047,247,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.