Gets a key of a given position, zero based
Lists.au3 _MapGetKey( $aMap [, $nPosition = 0 ] ) |
$aMap | Key map array as handle |
$nPosition | Position in key map |
value | Key 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, _MapGetValue, _MapKeyInMap, _MapValueInMap
If _MapSize( $aMyMap ) > 5 Then $myKey = _MapGetKey( $aMyMap, 5 ) ; get 6th key