due to a currently ongoing discussion about maps I decided to take a look at the help, which raised two questions:
Firstly, the help states
Does this mean thatOnce an element as been accessed or created, it becomes the current element of the map, and further access to this element can be done without specify the key. This is useful when using structured map, as no more element lookup is needed to access different structure field.
Code: Select all
Cars("Ferrari F40")\Weight = 1000
Cars()\Speed = 320
Cars()\Price = 500000
Code: Select all
Cars("Ferrari F40")\Weight = 1000
Cars("Ferrari F40")\Speed = 320
Cars("Ferrari F40")\Price = 500000
Secondly, I can define how many slots are preoccupied/predefined on creation. Can I change that afterwards, like redimming an array? I know that I simply can add as many elements as I want to, but from how I understand it, it should be faster to preoccupy more slots beforehand, if that's possible.