I created a map by entering the individual elements by ordering the key in alphabetical order.
I then saved the map to a file with the File.WriteMap statement.
I then reloaded the map with the File.ReadMap statement.
Finally I read the first element of the map with the instruction:
The element I found was not the first one I had inserted.
Is there a way to reload the map in the same order I did the insertion?
Thanks.
I then saved the map to a file with the File.WriteMap statement.
I then reloaded the map with the File.ReadMap statement.
Finally I read the first element of the map with the instruction:
B4X:
myMap.GetKeyAt (0)
The element I found was not the first one I had inserted.
Is there a way to reload the map in the same order I did the insertion?
Thanks.