TeleFlow BasicScript BAndBOrBXorBNot

TeleFlow BasicScript BAndBOrBXorBNot

From TeleFlow

Jump to: navigation, search

The logical BAND, BOR, BXOR, BNOT bitwise operators and ^ (exponentiate) are logical operators performing element-wise logic:

Syntax

BAND: returns the bitwise AND operator result from both left and right numerical values.

BOR: returns the bitwise OR operator result from both left and right numerical values.

BXOR: returns the bitwise XOR operator result from both left and right numerical values.

BNOT: returns the 32-bit bitwise NOT operator result.

^: returns the exponentiate result of the numerical left value exponentiate numerical right value.

Related Steps

Image:Iv_517.gif BasicScript

Examples

BasicScript code      Result
band (7,5) 5
bor (7,5) 7
bxor (7,5) 2
bnot (7) -8
3^2 9