readmap

Cor

Active Member
Licensed User
Longtime User
I want to read the following from a file with readmap

from [C] value 01
from value 02


[C]
01=2334222100001



01=1133442290901
02=9090909090900
03=9090909090900

is there an example of this?

When I add a file to the files tab , how to read it from

mymap=readmap(???,"file in files tab")

Is there a limit of file size because myfile has size of about 100KB

grCor

grCor
 

Cor

Active Member
Licensed User
Longtime User
I changed it to

Bzf=9090909090901

then

mymap=File.ReadMap(File.DirDefaultExternal,"sgcfinder.dat")

ToastMessageShow(mymap.Get("Bzf"),True)

will read the right value

grCor
 
Upvote 0

Cor

Active Member
Licensed User
Longtime User
this works

mymap=File.ReadMap(File.DirDefaultExternal,"sgcfinder.dat")
chordIndex=File.readmap(File.DirDefaultExternal,"chordlist.dat")

when added to the files tab, below does not work

mymap=File.ReadMap(File.DirAssets,"sgcfinder.dat")
chordIndex=File.readmap(File.DirAssets,"chordlist.dat")

grCor
 
Upvote 0
Top