Difference between revisions of "BIS fnc bitwiseOR"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +(spawn|call) +'''([a-zA-Z0-9_]+)'''[ ]* " to " $1 $2 ")
m (Text replacement - " \| *(\[[^ ]+\] (call|spawn) ('''|\[\[)BI(N|S)_fnc_[a-zA-Z0-9_]+('''|\]\]));? \| *p1 *=" to " |s1=$1 |p1=")
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_bitwiseOR]]
+
|s1=[num1, num2] call [[BIS_fnc_bitwiseOR]]
  
 
|p1= num1: [[Number]] - decimal or hexadecimal unsigned 24 bit integer
 
|p1= num1: [[Number]] - decimal or hexadecimal unsigned 24 bit integer

Revision as of 20:30, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Bitwise

Syntax

Syntax:
[num1, num2] call BIS_fnc_bitwiseOR
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:
[2 + 4 + 8 + 32, 1] call BIS_fnc_bitwiseOR; // 47 [1 + 2 + 16 + 32, 4 + 8] call BIS_fnc_bitwiseOR; // 63 [1 + 2 + 16 + 32, 4 + 32] call BIS_fnc_bitwiseOR; // 55 [1 + 2 + 16 + 32, 16 + 32] call BIS_fnc_bitwiseOR; // 51

Additional Information

See also:
BIS fnc bitwiseANDBIS fnc bitwiseXORBIS 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