C Cor Active Member Licensed User Longtime User Nov 15, 2010 #1 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
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
C Cor Active Member Licensed User Longtime User Nov 15, 2010 #2 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
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
Erel B4X founder Staff member Licensed User Longtime User Nov 16, 2010 #3 mymap=readmap(???,"file in files tab") Click to expand... You should use File.DirAssets to access files added with the file manager. Upvote 0
mymap=readmap(???,"file in files tab") Click to expand... You should use File.DirAssets to access files added with the file manager.
C Cor Active Member Licensed User Longtime User Nov 16, 2010 #4 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
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
C Cor Active Member Licensed User Longtime User Nov 16, 2010 #5 sorry, it works i had not changed my .dat files, only changed it on the device grCor Upvote 0