Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Fast Library For Clipper 3.02 Reference - <b>isbit()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    IsBit()

         Determinates if Bit 1 or 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 bit inside the byte
         is 1 or 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()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson