Maps reading/writing

GiovanniPolese

Well-Known Member
Licensed User
Longtime User
Hi everybody. I am missing something on Maps saving/reading, I guess. As I see, while Map.GetAt(key) gives back a Typed object without any problem, this is not true if the map is read from storage. I get a runtime error. The simple attached example shows what i mean. Thanks in advance.
 

Attachments

  • testMap.zip
    1.2 KB · Views: 189

goron

Member
Licensed User
Longtime User
Try,

Dim str1 As String
Map1=File.ReadMap(File.DirDefaultExternal,"test.xxx")
'Obj1=Map1.Get("A")
str1=Map1.Get("A") 'works fine
Log("str1")

HTH, Gideon Oron
 
Upvote 0
Top