Files
harbour-core/contrib/hbnf/byteor.prg
vszakats a4a357a18b 2013-03-15 11:12 UTC+0100 Viktor Szakats (harbour syenar.net)
* /harbour/* -> /*
    * moved whole Harbour source tree one level up to
      avoid single 'harbour' top dir
2013-03-15 11:13:30 +01:00

33 lines
679 B
Plaintext

/*
* $Id$
*/
/*
* 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:03:06 GLENN
* Forest Belt proofread/edited/cleaned up doc
*
* Rev 1.1 14 Jun 1991 19:51:16 GLENN
* Minor edit to file header
*
* Rev 1.0 01 Apr 1991 01:00:56 GLENN
* Nanforum Toolkit
*
*/
FUNCTION ft_ByteOr( cByte1, cByte2 )
IF HB_ISSTRING( cByte1 ) .AND. HB_ISSTRING( cByte2 )
RETURN hb_BChar( hb_bitOr( hb_BCode( cByte1 ), hb_BCode( cByte2 ) ) )
ENDIF
RETURN NIL