BITOR

Syntax

BITOR(</wiki/spaces/DAS60/pages/4620163738>, </wiki/spaces/DAS60/pages/4620163738>; ...)

Description

Bitwise OR operation on given integer arguments. The function converts the integers to binary and returns 1 in each bit position where any input arguments have a one in the corresponding position and zero in all others.

This function supports more than 255 arguments.

Examples

Column1Column2Column3BITAND() returns
Example 1
2367
(0010)(0011)(0110)= 0111
Example 2
481212
(0100)(1000)(1100)= 1100
Example 3
238109127
(0010111)(0111101)(1101101)= 1111111