# xor

The keyword xor performs a logical operation which returns the value true if one of its operands is true; it returns the value false if both operands are false or if both operands are true.

Related keywords:

- boolean
- and
- not
- or
- true
- false

### xor

Example 1:

const boolean c_goed := true;
const boolean c_tvaertom := true;
var boolean v_ensemble := c_goed xor c_tvaertom;

The varaible v_ensemble will have the initial value false.

BNF definition of xor