createHashMapFromArray: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Command " to "{{RV|type=command ") |
m (removed example two) |
||
Line 18: | Line 18: | ||
|x1= <code>[[createHashMapFromArray]] [["a",1], ["b",2], ["c",3]];</code> | |x1= <code>[[createHashMapFromArray]] [["a",1], ["b",2], ["c",3]];</code> | ||
|seealso= [[HashMap]] | |seealso= [[HashMap]] | ||
}} | }} |
Revision as of 12:13, 26 January 2021
Description
Syntax
- Syntax:
- createHashMapFromArray [[key1, value1], [key2, value2]]
- Parameters:
- key: HashMapKey
- value: Anything
- Return Value:
- HashMap
Examples
- Example 1:
createHashMapFromArray [["a",1], ["b",2], ["c",3]];
Additional Information
- See also:
- HashMap
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
[[Category:Introduced with arma3dev version 2.01]][[ Category: arma3dev: New Scripting Commands | CREATEHASHMAPFROMARRAY]][[ Category: arma3dev: Scripting Commands | CREATEHASHMAPFROMARRAY]]