Bitwise Or

Kalipso - Form - Expressions - Functions - Functions Descriptions - Numeric Functions - Bitwise Or

This Function returns a <numeric>, which is the result of comparing each bit of Value 1 to the corresponding bit of Value 2, returning 1 if one of the bits is 1 and 0 otherwise.

Function available for the following operating systems:

Parameters

  • Value 1 <numeric> - Value to compare with Value 2

  • Value 2 <numeric> - Value to compare with Value 1.

Examples

  • Example 1

BitOr(10, 2) Result = 10

  • Example 2

BitOr(901, 881) Result = 1013

  • Example 3

BitOr(10, 10) Result = 10

Last updated