xor

calculate the binary XOR for the given values


Parameters

xor valueA :integer :literal
    valueB :integer

Returns

  • :integer
  • or  :nothing

Examples

copy
print xor 2 3 ; 1

copy
a: 2 xor 'a 3 ; a: 1

Related