BIS_fnc_consolidateArray

From Bohemia Interactive Community
Revision as of 03:01, 2 October 2014 by Benargee (talk | contribs) (GVI released sooner than 1.00, added 0.76. Source http://dev.arma3.com/post/spotrep-00009)
Jump to navigation Jump to search


Hover & click on the images for description

Description

Description:
/*

	Description:
	Finds duplicities in array of strings and consolidates it to the array of sub-arrays, where:
	id 0: string
	id 1: occurrence count

	Syntax:
	_cosolidated:array = _strings:array call BIS_fnc_consolidateArray;

	Example:
	[["apple",3],["pear",2]] = ["apple","apple","pear","pear","apple"] call BIS_fnc_consolidateArray;
*/

(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:

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

Notes

Bottom Section