BIS fnc bitwiseXOR: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) - ([a-z -]+) \|x1=" to "|r1=$1 - $2 |x1=")
m (Text replacement - " +(spawn|call) +'''([a-zA-Z0-9_]+)'''[ ]* " to " $1 $2 ")
Line 12: Line 12:
supported range is 2^0...2^24 (1...16777216)
supported range is 2^0...2^24 (1...16777216)


| [num1, num2] call '''BIS_fnc_bitwiseXOR'''
| [num1, num2] call [[BIS_fnc_bitwiseXOR]]


|p1= num1: [[Number]] - decimal or hexadecimal unsigned 24 bit integer
|p1= num1: [[Number]] - decimal or hexadecimal unsigned 24 bit integer

Revision as of 17:17, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Bitwise

Syntax

Syntax:
Syntax needed
Parameters:
num1: Number - decimal or hexadecimal unsigned 24 bit integer
num2: Number - decimal or hexadecimal unsigned 24 bit integer
Return Value:
Number - decimal number

Examples

Example 1:
[1 + 4 + 16, 1] call BIS_fnc_bitwiseXOR; // 20 [1 + 2 + 32, 4 + 8] call BIS_fnc_bitwiseXOR; // 47 [16 + 32, 4 + 16] call BIS_fnc_bitwiseXOR; // 36 [1 + 16 + 32, 2 + 32] call BIS_fnc_bitwiseXOR; // 19

Additional Information

See also:
BIS fnc bitwiseANDBIS fnc bitwiseORBIS fnc bitwiseNOT

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note