xor~ Reference

Logical xor operator

xor~

Examples

Inlets

Left Operand [auto]

Performs the operation with the value currently stored. If there is no argument, || initially holds `0`.

Right Operand [auto]

The value is compared to the value in the left inlet to determine output but only a value in the left inlet will trigger output.

Outlets

Left ^^ Right [signal]

If either input value is is non-zero, but not both, the output is `1`. Otherwise the output is `0`.

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

in1 [auto]

Performs the operation with the value currently stored. If there is no argument, || initially holds `0`.

in2 [auto]

The value is compared to the value in the left inlet to determine output but only a value in the left inlet will trigger output.

reset [bang] (default: 0)

Reset inlets to default values.

See Also

Name Description
and logical AND operator
or Performs a logical OR