Pinnacle Speakers FXDEKO User Manual

Page of 239
158
Working with Macros
FXDeko User’s Guide
Additional string operations are performed by commands. Please refer to the
FXDeko Commands section of this manual.
The index and element operators allow direct access to values that are elements
of arrays or elements of objects:
Operator
Expression
Data Accessed
[ ]
$a[$b]
item $b of array $a
: $a:$b
$b 
element of object $a
Bitwise operators perform operations on integers based on bit position:
Operator
Expression
Operation
<<
$a << 2
shifts $a left by 2 bit positions
>>
$a >> 4
shifts $a right by 4 bit positions
~
~$a
complements 1 bits to 0; 0 bits to 1
&
$a & $b
bitwise AND of $a and $b
|
$a | $b
bitwise OR of $a and $b
^
$a ^ $b
exclusive OR of $a and $b