Skip to main content

BitwiseOr

Type

operator

Summary

Performs a bitwise OR operation on the binary representations of Left and Right.

Syntax

<Left> bitwise or <Right>

Description

Each bit of Left bitwise or Right is 0 if and only if both the corresponding bit of the binary representation of Left and that of Right is 0. Otherwise it is 1.

Parameters

NameTypeDescription

Left

An expression which evaluates to an integer.

Right

An expression which evaluates to an integer.

Examples

variable tVar as Number
put 3 bitwise or 6 into tVar -- tVar contains 7
Thank you for your feedback!

Was this page helpful?