Function ClearBit() Foundation

Sets one or more bits of a number to 0.

Syntax
ClearBit( <nNumber|cHex>  , ;  // Type: NC
          [<nBitPos1>]    , ;  // Type:  N
          [<...nBitPos32>]  ;  // Type:  N
        ) --> nNewValue
Return

Returns a number with the bits at the specified positions set to 0.

Description

<nNumber> is a 32 bit integer which may be specified alternatively as a string coded as a hexadecimal number.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.