 |
ALPHA-VISION® Functions: aci.Xor
|
aci.Xor
SUMMARY
Bit by bit XOR.
SYNTAX
aci.Xor(
<value1>,
<value2>)
ARGUMENTS
- value1 (type:integer)
-
- value2 (type:integer)
-
RETURN VALUES
- 1 (type:integer)
-
Returns the result of the XOR operation.
EXAMPLES
assert(aci.Xor(0xf0f0f0f0, 0xffff0000) == 0x0f0ff0f0)
assert(aci.Xor(0x0f0f0f0f, 0x0000ffff) == 0x0f0ff0f0)
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