August 2003
Intermediate to advanced
1140 pages
68h 45m
English
BitMaskRead
BitMaskRead(number, startbit, length)
Returns the
integer from length bits of
number beginning from the bit specified by
startbit. Examples:
<cfoutput> BitMaskRead(127,0,1): #BitMaskRead(127,0,1)#<br> BitMaskRead(255,3,3): #BitMaskRead(255,3,3)#<br> BitMaskRead(511,2,4): #BitMaskRead(511,2,4)#<br> BitMaskRead(1023,4,25): #BitMaskRead(1023,4,25)#<br> BitMaskRead(2047,7,4): #BitMaskRead(2047,7,4)# </cfoutput>