I seem to be having a problem with maps. Maybe it's just the way I am using them.
mymap=MapCreate(`1,|2,|3,|a,`,`,`,`|`)
If MapKeyExist(mymap,1) Then Message(``,`Seems like it worked`)
If MapKeyExist(mymap,`1`) Then Message(``,`Seems like it worked too`)
e=mymap[1]
f=mymap[`1`]
This seems to work, as the map is generated and I can see all the variables in the debugger, but both e and f generate errors.
mymap=MapCreate()
mymap[1]=``
e=mymap[1]
f=mymap[`1`]
Where this works for both e and f.
Is it documented that I not be using MapCreate to initialize maps with empty variables?