values: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page creation)
 
(Corrected introduction version)
Line 2: Line 2:


|game1= arma3
|game1= arma3
|version1= 2.06
|version1= 2.04


|branch= dev
|descr= Returns all values stored in the given [[HashMap]]. The order of the returned Array corresponds to the order of the Array returned by the [[keys]] command.
 
|descr= Returns all the values of a [[HashMap]], ordered the same as what [[keys]] return.


|gr1= HashMap
|gr1= HashMap
Line 14: Line 12:
|p1= hashmap: [[HashMap]]
|p1= hashmap: [[HashMap]]


|r1= [[Array]] - array of ''hashmap''<nowiki/>'s values
|r1= [[Array]] - All values stored in ''hashmap''


|x1= <code>[[private]] _values = [[values]] _myHashMap;</code>
|x1= <code>[[private]] _values = [[values]] _myHashMap;</code>


|seealso= [[HashMap]] [[keys]]
|seealso= [[keys]]
}}
}}

Revision as of 14:53, 14 August 2021

Hover & click on the images for description

Description

Description:
Returns all values stored in the given HashMap. The order of the returned Array corresponds to the order of the Array returned by the keys command.
Groups:
HashMap

Syntax

Syntax:
values hashmap
Parameters:
hashmap: HashMap
Return Value:
Array - All values stored in hashmap

Examples

Example 1:
private _values = values _myHashMap;

Additional Information

See also:
keys

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