[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FN_ISBIT()
Determine if a specified bit is set
------------------------------------------------------------------------------
Syntax
fn_isbit( <nNum>, <nBit> ) -> lSet
Arguments
<nNum> is the number to test, <nBit> is the
bit to test (0-15).
Returns
Returns logical .t. if the bit is set, .f. if
it isn't.
Description
Determines if a specified bit in a number is set.
Examples
? fn_isbit( 13, 0 ) // .t. (bit 0 is set)
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