Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 751 Bytes

BitXor.md

File metadata and controls

44 lines (29 loc) · 751 Bytes

Math,BitXor

Performs a bitwise exclusive OR operation.

Syntax

Math,BitXor,<DestVar>,<Vaue1>,<Value2>

Arguments

Argument Description
DestVar The variable where the result will be stored.
Value1 The first value.
Value2 The second value.

Remarks

None.

Related

BitAnd, BitNot, BitShift, BitOr

Examples

Example 1

[Main]
Title=Math-BitXor Example
Description=Show usage of the Math,BitXor Command
Author=Homes32

[Variables]

[Process]
Math,BitXor,%result%,13,7

// Output Result
Message,"Bitwise XOR:#$x#$x00001101 (13)#$x00000111 (7)#$x--------------#$x00001010 (10)#$x#$xReturn: %result%"