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

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>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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