Bitwise operation on a variable or reference

name |= expression
name &= expression

reference |= expression
reference &= expression

Operators perform a bitwise operation with arguments:
   - on the left: a variable with the name or a value of the reference (element of an array or list)
   - on the right: value of the expression.
The result is written into the variable or reference used on the left side of the operator.


"x := 0
repeat 10 ["x += repcount]
print :x
"x &= 15
print :x



See also:

Variables in POOL
:= - assign new value to a variable/reference
make, name - set or create global variable
let, localmake - set or create local variable

Table of Content