newMap()
Posted: 17 Nov 2014 22:07
I haven't found any other method of populating a map other than by repetitive addMapEntry(map, key, value), which may be clumsy when initialising a map with predefined (static, or by variables) keys and values.
I'd like to see an extension to newMap, allowing
and therefore
unless there's a simple way to get similar functionality without the repetitive addMapEntry execution, which I may have missed.
I'd like to see an extension to newMap, allowing
Code: Select all
newMap(key1, value1, key2, value2, ...)
Code: Select all
newMap(
key1, value1,
key2, value2,
key3, value3
)