Gets a value of a given position, zero based
Lists.au3 _MapGetValue( $aMap [, $nPosition = 0 ] ) |
$aMap | Key map array as handle |
$nPosition | Position in key map |
value | Value of given position |
1 | Not a key map |
2 | Key map is empty, no values |
3 | Given position greater than key map size |
_MapAdd, _MapValueByKey, _MapKeyByValue, _MapRemoveByKey, _MapRemoveByValue, _MapGetKey, _MapKeyInMap, _MapValueInMap
If _MapSize( $aMyMap ) > 5 Then $myValue = _MapGetValue( $aMyMap, 5 ) ; get 6th value