[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 IsBit()
 Checks a byte to see if a bit is set.
-------------------------------------------------------------------------------

 Syntax:

     IsBit( <cByte>, <nBitNumber> ) --> <lIsSet>

 Returns:

     IsBit() will return a true if bit number <nBitNumber> is on in the
     byte specified by <cByte>.

     <nBitNumber> is a value from 1 to 8 with 8 being the most significant
     bit.


 Files:  Library is CUACLIP.LIB.

See Also: And() Or() XOr()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson