Creates a key map for storing values attach to keys, can be use bidirectional
Lists.au3 _MapCreate() |
none |
array value | Key map array as handle |
_MapIsMap, _MapToArray, _ArrayToMap
Local $aAddress = _MapCreate()
_MapAdd( $aAddress, "street", "Scary avenue" )
_MapAdd( $aAddress, "town", "Ghost town" )
_MapAdd( $aAddress, "state", "Night state" )
....
If _MapKeyInMap( $aAddress, "street" )
> -1 Then _ConsoleWrite( _MapValueByKey(
$aAddress, "street" ) ) ; Scary avenue