BIS fnc arrayCompare: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| arma2 \| *([0-9]\.[0-9]{2}) * " to " | arma2 |$1 |game2= arma2oa |version2= 1.50 |game3= tkoh |version3= 1.00 |game4= arma3 |version4= 0.50 ")
m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \|x1=" to "\|r1=$1 \|x1=")
Line 25: Line 25:
|p2= array2: [[Array]]
|p2= array2: [[Array]]


| [[Boolean]]
\|r1= [[Boolean]]


|x1= <code>_array1 = [0,1,2];
\|x1= <code>_array1 = [0,1,2];
_array2 = [0,1,2];
_array2 = [0,1,2];
[_array1, _array2] [[call]] [[BIS_fnc_arrayCompare]]; {{codecomment|// returns [[true]]}}</code>
[_array1, _array2] [[call]] [[BIS_fnc_arrayCompare]]; {{codecomment|// returns [[true]]}}</code>

Revision as of 11:25, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Arrays

Syntax

Syntax:
Syntax needed
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

See also:
BIS_fnc_areEqualBIS_fnc_areEqualNotNilisEqualTo

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