TeleFlow BasicScript BAndBOrBXorBNot

TeleFlow BasicScript BAndBOrBXorBNot

From TeleFlow

(Difference between revisions)
Jump to: navigation, search
(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 ...)
Current revision (23:48, 19 May 2008) (edit) (undo)
 
Line 1: Line 1:
The logical BAND, BOR, BXOR, BNOT bitwise operators and ^ (exponentiate) are logical operators performing element-wise logic:<br>
The logical BAND, BOR, BXOR, BNOT bitwise operators and ^ (exponentiate) are logical operators performing element-wise logic:<br>
<br>
<br>
 +
===Syntax===
<b>BAND:</b> returns the bitwise AND operator result from both left and right numerical values.<br>
<b>BAND:</b> returns the bitwise AND operator result from both left and right numerical values.<br>
<br>
<br>
Line 9: Line 10:
<b>BNOT:</b> returns the 32-bit bitwise NOT operator result.<br>
<b>BNOT:</b> returns the 32-bit bitwise NOT operator result.<br>
<br>
<br>
-
^: returns the exponentiate result of the numerical left value exponentiate numerical right value.<br>
+
<b>^</b>: returns the exponentiate result of the numerical left value exponentiate numerical right value.<br>
<br>
<br>
-
<b>Examples:</b><br>
+
===Related Steps===
-
<br>
+
[[Image:Iv_517.gif]] [[TeleFlow_Step_0517|BasicScript]]<br>
-
BasicScript code<br>
+
-
<br>
+
-
band (7,5)<br>
+
-
:5<br>
+
-
<br>
+
-
bor (7,5)<br>
+
-
:7<br>
+
-
<br>
+
-
bxor (7,5)<br>
+
-
<br>
+
-
:2<br>
+
-
<br>
+
-
bnot (7)<br>
+
-
:-8<br>
+
-
<br>
+
-
3^2<br>
+
-
:9<br>
+
<br>
<br>
 +
===Examples===
 +
:{| border="0" cellspacing="0" cellpadding="2" align="left"
 +
! BasicScript code &nbsp;&nbsp;&nbsp;&nbsp;
 +
! Result
 +
|-
 +
| band (7,5)
 +
| 5
 +
|-
 +
| bor (7,5)
 +
| 7
 +
|-
 +
| bxor (7,5)
 +
| 2
 +
|-
 +
| bnot (7)
 +
| -8
 +
|-
 +
| 3^2
 +
| 9
 +
|-
 +
|}

Current revision

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