Sandman Expert Licensed User Longtime User Oct 19, 2017 #1 In the documentation for Files (core), there seems to be a small typo in the TextReader section, under ReadLine: B4X: Reader.Initialize(File.OpenInput(File.InternalDir, "1.txt")) I believe InternalDir is wrong and should say DirInternal instead: B4X: Reader.Initialize(File.OpenInput(File.DirInternal, "1.txt"))
In the documentation for Files (core), there seems to be a small typo in the TextReader section, under ReadLine: B4X: Reader.Initialize(File.OpenInput(File.InternalDir, "1.txt")) I believe InternalDir is wrong and should say DirInternal instead: B4X: Reader.Initialize(File.OpenInput(File.DirInternal, "1.txt"))
Erel B4X founder Staff member Licensed User Longtime User Oct 19, 2017 #2 Fixed. I've also added a message that in most cases it is recommended to avoid using TextReader and instead use File.ReadString or File.ReadList.
Fixed. I've also added a message that in most cases it is recommended to avoid using TextReader and instead use File.ReadString or File.ReadList.