Bitmaskclear - MACROMEDIA COLDFUSION MX 61-CFML Reference

Cfml reference
Hide thumbs Also See for COLDFUSION MX 61-CFML:
Table of Contents

Advertisement

BitMaskClear

Description
Performs a bitwise mask clear operation.
Returns
A number, bitwise cleared, with length bits beginning at start.
Category
Mathematical functions
Function syntax
BitMaskClear(number, start, length)
See also
BitMaskRead,
Parameters
Parameter
number
start
length
Usage
Bit functions operate on 32-bit signed integers, in the range -2147483648 – 2147483647.
Example
<h3>BitMaskClear Example</h3>
<p>Returns number bitwise cleared with length bits beginning from start.
<p>BitMaskClear(255, 4, 4): <cfoutput>#BitMaskClear(255, 4, 4)#
</cfoutput>
<p>BitMaskClear(255, 0, 4): <cfoutput>#BitMaskClear(255, 0, 4)#
</cfoutput>
<p>BitMaskClear(128, 0, 7): <cfoutput>#BitMaskClear(128, 0, 7)#
</cfoutput>
402
Chapter 3: ColdFusion Functions
BitMaskSet
Description
32-bit signed integer
Integer, in the range 0-31, inclusive; start bit for mask
Integer, in the range 0-31, inclusive; length of mask

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents