Why is this not failing / working :
- Assume there is no bla file
- Then one of the following should be false
print ( system.DocumentsDirectory )
print ( system.ResourceDirectory)
local dd = system.pathForFile( “bla.cfg”, system.DocumentsDirectory )
local rd = system.pathForFile( “bla.cfg”, system.ResourceDirectory )
assert ( ( dd and rd ) or ( not dd and not rd) , “Inconsistent api behavior”)
Thanks
Frank