Positron Compiler Documentation

Logical operators

Positron16 · Revision 1.1.3.5 · PDF page 74
Bitwise and '&'Returns the logical And of two values.
Bitwise or '|'Returns the logical Or of two values.
Bitwise xor '^'.Returns the logical Xor of two values.
Bitwise Shift Left '<<'.Shifts the bits of a value left a specified number of places.
Bitwise Shift Right '>>'.Shifts the bits of a value right a specified number of places.

Bitwise Complement '~' Reverses the bits in a variable.

View original PDF page 74Open page in PDFOriginal PDF page 74

Topics