[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   IsBitSet( nByte, nBit ) -> lGesetzt

   Checks if nBit is set in nByte. Returns TRUE or FALSE.


   PARAMETERS:
   nByte     Value from 0-255, in which nBit shall be checked

   nBit      Is the bit position to be checked, from 0-7


   EXAMPLE:

           // PrinterStatus Bit 5 set ?
              IF IsBitSet ( PrtStatus(0), 5)
                 "Printer is out of paper !"

              ENDIF





This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson