J John Sturt Active Member Licensed User Longtime User Jan 12, 2016 #1 Hello All I have some translation files in UTF 8 format and am trying to use Code: Copy TheList = File.ReadList (dir,Filename) The files are being limited to 99 lines / entries which throws run time out of bounds errors. How do i load a file of > 99 lines? Any solutions?
Hello All I have some translation files in UTF 8 format and am trying to use Code: Copy TheList = File.ReadList (dir,Filename) The files are being limited to 99 lines / entries which throws run time out of bounds errors. How do i load a file of > 99 lines? Any solutions?
Erel B4X founder Staff member Licensed User Longtime User Jan 12, 2016 #2 There is no limit to the number of lines. Check Log(TheList.Size). Upvote 0
J John Sturt Active Member Licensed User Longtime User Jan 12, 2016 #3 Hello I have discovered that the ReadList does not recognize blank lines in the text file. I assume that is due to character end of line codes. Thank you i can now fix this. Upvote 0
Hello I have discovered that the ReadList does not recognize blank lines in the text file. I assume that is due to character end of line codes. Thank you i can now fix this.
sdesan Member Licensed User Longtime User Jul 23, 2016 #4 Hi John, how do you have fixed blank line reading problem? Upvote 0
imbault Well-Known Member Licensed User Longtime User Jul 23, 2016 #5 Yes, did you fix that in your app ? Upvote 0
J John Sturt Active Member Licensed User Longtime User Jul 25, 2016 #6 Hello I took a very practical and stabel solution but not a very clever one. I replaced the blank line with a code that the App will process and create the desired blank lines. i.e. ... Some text in file [blank line] Some more text ... I assume their is a encoding solution to this but i needed a solution to work on all systems and with a variety of character tables. John. Upvote 0
Hello I took a very practical and stabel solution but not a very clever one. I replaced the blank line with a code that the App will process and create the desired blank lines. i.e. ... Some text in file [blank line] Some more text ... I assume their is a encoding solution to this but i needed a solution to work on all systems and with a variety of character tables. John.