BIS fnc arrayCompare: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - " |GROUP1" to "|GROUP1=") |
m (Text replacement - "\[\[Category\:Function Group\: Arrays(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
||
Line 40: | Line 40: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Functions|{{uc:arrayCompare}}]] | [[Category:Functions|{{uc:arrayCompare}}]] | ||
[[Category:{{Name|arma2}}: Functions|{{uc:arrayCompare}}]] | [[Category:{{Name|arma2}}: Functions|{{uc:arrayCompare}}]] | ||
[[Category:{{Name|arma2oa}}: Functions|{{uc:arrayCompare}}]] | [[Category:{{Name|arma2oa}}: Functions|{{uc:arrayCompare}}]] | ||
[[Category:{{Name|tkoh}}: Functions|{{uc:arrayCompare}}]] | [[Category:{{Name|tkoh}}: Functions|{{uc:arrayCompare}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:arrayCompare}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:arrayCompare}}]] |
Revision as of 10:25, 12 October 2020
Description
- Description:
- This function checks if two arrays are containing the same elements in the same order.
- Execution:
- call
- Groups:
- Arrays
Syntax
- Syntax:
- [array1, array2] call BIS_fnc_arrayCompare
- Parameters:
- array1: Array
- array2: Array
- Return Value:
- Boolean
Examples
- Example 1:
_array1 = [0,1,2]; _array2 = [0,1,2]; [_array1, _array2] call BIS_fnc_arrayCompare; // returns true
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