Difference between revisions of "values"

From Bohemia Interactive Community
Jump to navigation Jump to search
(Corrected introduction version)
m (Some wiki formatting)
 
Line 12: Line 12:
 
|p1= hashmap: [[HashMap]]
 
|p1= hashmap: [[HashMap]]
  
|r1= [[Array]] - All values stored in ''hashmap''
+
|r1= [[Array]] - all values stored in ''hashmap''
  
|x1= <code>[[private]] _values = [[values]] _myHashMap;</code>
+
|x1= <sqf>private _values = values _myHashMap;</sqf>
  
 
|seealso= [[keys]]
 
|seealso= [[keys]]
 
}}
 
}}

Latest revision as of 18:32, 5 May 2022

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