• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Name

BitMaskRead

Synopsis

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>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint