BitOR

Description

This function is used to return bitwise OR operation of two intergers.

 

Syntax

 __int64 BitOR( __int64 a, __int64 b )

Parameters

a

Any allowed interger.

b

Any allowed interger.

Return

Return the result of two input numbers by bitwise OR operation.

Example

EX1

aa = BitOR(1,7);
aa =; //Returns the result of an OR operation.

EX2

i=hex(F1101010101); 
j=hex(F2010101011);
Dec2hex(bitOr(i,j),12)$=;// 0F3111111111

See Also

BitAND, BitXOR