I was looking to the Map object to save app settings (4 settings)
Just wish to confirm that if I initially write say 3 settings to file,
and later write a 4th key by itself .. ie
I have in fact overwritten the first three keys , and that all WriteMap methods would have to be for the entire key / value set
Many thanks
Cheers mj
Just wish to confirm that if I initially write say 3 settings to file,
B4X:
m.Put("Key1", "Aaa")
m.Put("Key2","Bbb")
m.Put("Key3", "Ccc")
File.WriteMap(File.DirDefaultExternal, "settings.txt", m)
and later write a 4th key by itself .. ie
B4X:
m.Put("Key4", "Ddd")
File.WriteMap(File.DirDefaultExternal, "settings.txt", m)
I have in fact overwritten the first three keys , and that all WriteMap methods would have to be for the entire key / value set
Many thanks
Cheers mj