August 2003
Intermediate to advanced
1140 pages
68h 45m
English
BitMaskSet
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>