[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FN_CLRBIT()
Clear a bit in a number
------------------------------------------------------------------------------
Syntax
fn_clrbit( <nNum>, <nBit> ) -> nResult
Arguments
<nNum> is a number that needs a bit cleared;
<nBit> is the bit to clear.
Returns
<nResult>, a numeric
Description
Clears a specified bit in a number.
Examples
fn_clrbit( 9, 0 ) // 8 (clears bit 0)
Source: N:\SRC\MISC\FNBIT.PRG
Author: Ted Means
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson