BIS fnc bitwiseAND: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|(arg|eff|serverExec|mp|seealso)= " to "") |
Lou Montana (talk | contribs) m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) - ([a-z -]+) \|x1=" to "|r1=$1 - $2 |x1=") |
||
Line 17: | Line 17: | ||
|p2= num2: [[Number]] - decimal or hexadecimal unsigned 24 bit integer | |p2= num2: [[Number]] - decimal or hexadecimal unsigned 24 bit integer | ||
| [[Number]] - decimal number | |r1= [[Number]] - decimal number | ||
|x1=<code>[2 + 4 + 8 + 32, 1] [[call]] [[BIS_fnc_bitwiseAND]]; // 0 | |x1=<code>[2 + 4 + 8 + 32, 1] [[call]] [[BIS_fnc_bitwiseAND]]; // 0 |
Revision as of 14:35, 10 June 2021
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:
[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