Navigation:  Reference > Functions By Category > Strings >

cStrBitOr()

Previous pageReturn to chapter overviewNext page

Perform a bitwise OR operation within the BYTES of 2 provided strings.

Syntax:

cStrBitOr( <cStr> , <cStr2> , [lRotate = .F.] ) -> cStrOrStr2

Parameters:

<cStr>

Source string. If this parameter is provided by reference the result of the OR operation will be stored also in <cStr>.

<cStr2>

Operand string.

<lRotate>

Optional parameter. If the size of <cStr2> is smaller than the size of <cStr> and this parameter is set to .T. the bits of <cStr2> will be used in a loop up to the end of <cStr>