Key Pages: [ Rope Home Page | Basics (tutorial) | Language Reference | Download ]
The "xor" action pops two or more (with AnchorBrackets) values, XORs (exclusive-or) them together, bit by bit and returns the result. This can be used for both logical "xor-ing" of conditions, and bit-wise operations on integers or strings.
If the arguments to "xor" are strings, then they must be the same length and the result (the value pushed back) will also be a string of that length.
For example..
$a 0x0400 xor assert xor($a 0x0400 $b) assert
Lowth.com: [ Home | Rope | P2PWall | LinWiz | cutter | Protector - Free Antivirus software | TapeIO ]