Xor

SUMMARY

Xor - Calculates the logical EXCLUSIV-OR gating of the given arguments

SYNTAX

Xor(<arg1, arg2, ...>);

ARGUMENTS

arg1 ...argN (type:bool)
The operands of the EXCLUSIV-OR gating.

DESCRIPTION

Stack
  1. Missing arguments are taken from the stack (and removed from there).
  2. The result is pushed onto the stack.

Wirkung
Calculates the logical EXCLUSIV-OR gating of the given arguments, whereby there are interpreted as boolean variables:
arg1 EXCLUSIV-OR arg2 EXCLUSIV-OR ... EXCLUSIV-OR argN

EXAMPLES

//Stack before (3 Elements):
//"1"
//TRUE
//"c"   //interpreted as Null and hence as FALSE
Xor(3,,4,, );
//Stack afterwards (1 Element):
//FALSE


Syntax Notation
[aaa]
aaa is optional (zero or one occurences)
(aaa|bbb)
aaa exclusive or bbb
(aaa)*
aaa may occur indefinitely often or may be omitted
(aaa)+
aaa may occur indefinitely often but at least once
(aaa)m..n
aaa may occur from m to n times