TeleFlow BasicScript BAndBOrBXorBNot

TeleFlow BasicScript BAndBOrBXorBNot

From TeleFlow

Revision as of 00:54, 17 May 2008 by Wikilib (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

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

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.

Examples:

BasicScript code

band (7,5)

5


bor (7,5)

7


bxor (7,5)

2


bnot (7)

-8


3^2

9