BIS fnc arrayCompare: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Undo revision 236909 by R3vo (talk))
Tag: Undo
m (Text replacement - "\{\{( *)Important( *)\|" to "{{$1Feature$2|$2important$2|")
Line 8: Line 8:


| This function checks if two arrays are containing the same elements in the same order.
| This function checks if two arrays are containing the same elements in the same order.
{{Important|This function is deprecated in {{arma2}} as it fails with certain data types; see [[BIS_fnc_areEqual]] for {{arma2}}.}}
{{Feature|important|This function is deprecated in {{arma2}} as it fails with certain data types; see [[BIS_fnc_areEqual]] for {{arma2}}.}}
{{Feature|arma3|Use [[isEqualTo]] instead.}}
{{Feature|arma3|Use [[isEqualTo]] instead.}}



Revision as of 03:08, 7 February 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:
Return value needed

Examples

Example 1:
_array1 = [0,1,2]; _array2 = [0,1,2]; [_array1, _array2] call BIS_fnc_arrayCompare; // returns true

Additional Information

See also:
See also needed

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