Hello,
Just to report as it is the first time since over 3 years that I used that code and today I've got that warning in the Logs from beta 5.8 (of course I have corrected my error easily)
In a code module where I have something like this (very cleared for the demo)
Just to report as it is the first time since over 3 years that I used that code and today I've got that warning in the Logs from beta 5.8 (of course I have corrected my error easily)
In a code module where I have something like this (very cleared for the demo)
B4X:
Sub LoadContent
Dim Content as Map
Content.Initialize
Content=ReadMap(Destination,"MapFileName")
End Sub
Sub Destination as Boolean
Return File.ExternalReadable
End Sub
Sub ReadMap(Destination as Boolean, MapName as String) as Map
Dim MyMap as Map
MyMap.Initialize
If Destination then
MyMap=File.ReadMap(File.DirExternal,MapName)
Else
MyMap=File.ReadMap(File.DirInternal,MapName)
End if
Return MyMap
End Sub
Last edited: