BIS fnc bitwiseAND: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " +(spawn|call) +'''([a-zA-Z0-9_]+)'''[ ]* " to " $1 $2 ") |
Lou Montana (talk | contribs) 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_bitwiseAND]] | |s1=[num1, num2] call [[BIS_fnc_bitwiseAND]] | ||
|p1= num1: [[Number]] - decimal or hexadecimal unsigned 24 bit integer | |p1= num1: [[Number]] - decimal or hexadecimal unsigned 24 bit integer |
Revision as of 19:30, 12 June 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Bitwise
Syntax
- Syntax:
- [num1, num2] call BIS_fnc_bitwiseAND
- 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_bitwiseAND; // 0 [2 + 4 + 8 + 32, 2] call BIS_fnc_bitwiseAND; // 2 [1 + 2 + 16 + 32, 4 + 8] call BIS_fnc_bitwiseAND; // 0 [1 + 2 + 16 + 32, 4 + 32] call BIS_fnc_bitwiseAND; // 32 [1 + 2 + 16 + 32, 16 + 32] call BIS_fnc_bitwiseAND; // 48
Additional Information
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