Files
harbour-core/contrib/hbnf/bytenot.prg
vszakats 9687850865 2013-03-16 02:10 UTC+0100 Viktor Szakats (harbour syenar.net)
* (all files)
    * stripped svn header
    * minor cleanups
    ; use following command to find out the history of files:
       git log
       git log --follow
       git blame
       git annotate
2013-03-16 02:11:42 +01:00

30 lines
697 B
Plaintext

/*
* Author....: Forest Belt, Computer Diagnostic Services, Inc.
* CIS ID....: ?
*
* This is an original work by Forest Belt and is placed in the
* public domain.
*
* Modification history:
* ---------------------
*
* Rev 1.2 15 Aug 1991 23:05:00 GLENN
* Forest Belt proofread/edited/cleaned up doc
*
* Rev 1.1 10 May 1991 23:54:40 GLENN
* Documentation correction. The "oneliner" said two characters were NOTted,
* but this function just takes one byte.
*
* Rev 1.0 01 Apr 1991 01:00:54 GLENN
* Nanforum Toolkit
*
*/
FUNCTION ft_ByteNot( cByte )
IF HB_ISSTRING( cByte )
RETURN hb_BChar( hb_bitNot( hb_BCode( cByte ) ) )
ENDIF
RETURN NIL