Liebe Leser,
ein kleines Code-Snippet für alle, die die XOR-Funktion verstehen wollen ;)
#cs
Coding by www.agrafix.net
---------------------
The functions
---------------------
#ce
; Nand Function
Func nand($a, $b)
Return BitNOT(BitAnd($a, $b))
EndFunc
; XOR Function
Func xor($a, $b)
Return nand(nand($a, nand($a, $b)), nand($b, nand($a,$b)))
EndFunc
#cs
---------------------
Proof of Concept: my xor function returns the same stuff as the Built-in XOR function
----...