/* $DOC$
   $NAME$
      ft_IsBit()
   $CATEGORY$
      String
   $ONELINER$
      Test the status of an individual bit
   $SYNTAX$
      ft_IsBit( <cByte>, <nBitPos> ) -> lResult
   $ARGUMENTS$
      <cByte> is a character from hb_BChar( 0 ) to hb_BChar( 255 ).

      <nBitPos> is a number from 0 to 7 conforming to standard right-to-left
                bit-numbering convention and representing the position of the
                bit within the byte.
   $RETURNS$
      .T. if designated bit is set (1), .F. if not set (0), NIL if
       invalid parameters.
   $DESCRIPTION$
      Tests for status of any selected bit in the byte passed as a parameter.
      Byte must be presented in hb_BChar() form, as a literal constant, or as
      the one-byte character result of an expression.

      This function is presented to illustrate that bit-wise operations
      are possible with Clipper code.  For greater speed, write .c versions
      and use the Clipper Extend system.
   $EXAMPLES$
      // This code tests whether bit 3 is set in the byte represented by
      // hb_BChar( 107 ):

      lBitflag := ft_IsBit( hb_BChar( 107 ), 3 )
      ? lBitflag                  // result: .T.

      // This code tests whether bit 5 is set in the byte represented by ASCII
      // 65 (letter "A")

      ? ft_IsBit( "A", 5 )        // result: .F.
   $SEEALSO$
      ft_BitSet(), ft_BitClr()
   $END$
 */
