TeleFlow BasicScript BAndBOrBXorBNot
From TeleFlow
(Difference between revisions)
Wikilib (Talk | contribs)
(New page: The logical BAND, BOR, BXOR, BNOT bitwise operators and ^ (exponentiate) are logical operators performing element-wise logic:<br> <br> <b>BAND:</b> returns the bitwise AND operator result ...)
Next diff →
Revision as of 00:54, 17 May 2008
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
