Positron Compiler Documentation

Rev '@'

Positron16 · Revision 1.1.3.5 · PDF page 124

Assignment Variable = Variable @ Variable

Reverses the order of the lowest bits in an integer value. The number of bits to be reversed is from 1 to 32.

Variable may be constants, variables or expressions. Assignment Variable can be any valid variable type.

Var1 = %10101100 @ 4  ' Sets Var1 to %10100011

or

  Dim MyDword as Dword
' Sets MyDword to %10101010000000001111111110100011
  MyDword = %10101010000000001111111110101100 @ 4
View original PDF page 124Open page in PDFOriginal PDF page 124