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

Name

BitMaskClear

Synopsis

BitMaskClear(number, startbit, length)

Returns number bitwise cleared with length bits beginning at the bit specified by startbit. Both startbit and length must be integers between 0 and 31. Examples:

<cfoutput>
BitMaskClear(127,0,1): #BitMaskClear(127,0,1)#<br>
BitMaskClear(255,3,3): #BitMaskClear(255,3,3)#<br>
BitMaskClear(511,2,4): #BitMaskClear(511,2,4)#<br>
BitMaskClear(1023,4,25): #BitMaskClear(1023,4,25)#<br>
BitMaskClear(2047,7,4): #BitMaskClear(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