[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    IsBit()

         Determinates if a bit is to 1 or to 0

    Syntax:

         IsBit ( cByte, nBitPos ) -> lIsOn

         cByte   : The byte to treat.
         nBitPos : The bit position inside the byte.

    Description:

         Returns a logic indicating if the selected byte inside the byte
         is to 1 or to 0

    Return:

         A logic indicating answer or Nil if cByte is not a character
         or if nBitPos is not numeric.

    Example:

         lEstaA_1 := IsBit ( "C", 2 )

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