imbault Well-Known Member Licensed User Longtime User Apr 30, 2015 #1 @Erel , in b4a, file.WriteMap, puts #Tue Apr 28 23:22:42 CEST 2015 at first line, then the map lines in b4i just a map, key = values The goal was porting a b4a app to b4i, maps files handling in both platform made me crazy, until I get the diffrence I'm sorry, but I've wasted lot of time, concluding to this issue For both platform, the file generated should be the same, if you put a # then a date time stamp on b4a, why not on b4i???? Regards Last edited: May 1, 2015
@Erel , in b4a, file.WriteMap, puts #Tue Apr 28 23:22:42 CEST 2015 at first line, then the map lines in b4i just a map, key = values The goal was porting a b4a app to b4i, maps files handling in both platform made me crazy, until I get the diffrence I'm sorry, but I've wasted lot of time, concluding to this issue For both platform, the file generated should be the same, if you put a # then a date time stamp on b4a, why not on b4i???? Regards
Erel B4X founder Staff member Licensed User Longtime User May 1, 2015 #2 Use RandomAccessFile.WriteB4XObject / ReadB4XObject instead.
imbault Well-Known Member Licensed User Longtime User May 1, 2015 #3 I find a workaround, but it has to be fixed... Yours Patrick
Erel B4X founder Staff member Licensed User Longtime User May 2, 2015 #4 This is not considered a bug. B4J and B4A WriteMap is based on Java properties files. There is no equivalent feature in iOS. If you want a cross platform solution then you should use WriteB4XObject which is cross platform and is much more powerful than WriteMap.
This is not considered a bug. B4J and B4A WriteMap is based on Java properties files. There is no equivalent feature in iOS. If you want a cross platform solution then you should use WriteB4XObject which is cross platform and is much more powerful than WriteMap.
imbault Well-Known Member Licensed User Longtime User May 2, 2015 #5 Right Erel, I didn't think using WriteB4XObject, but anyway, maybe it's not a bug, it's a problem, if your port an B4a app with Maps files embedded to a B4i app, you will have pb... thx
Right Erel, I didn't think using WriteB4XObject, but anyway, maybe it's not a bug, it's a problem, if your port an B4a app with Maps files embedded to a B4i app, you will have pb... thx