LucaMs Expert Licensed User Longtime User May 27, 2014 #1 In older versions of vb, we had at our disposal an identifier (#x) and, if I remember correctly, the corresponding file was locked. With various: File.WriteList File.WriteMap File.WriteString and OutputStream during the writing are the files locked? How can we verify that the file is closed and available? (http://www.b4x.com/android/forum/threads/class-flexible-table.30649/page-11#post-249347 and subsequent posts).
In older versions of vb, we had at our disposal an identifier (#x) and, if I remember correctly, the corresponding file was locked. With various: File.WriteList File.WriteMap File.WriteString and OutputStream during the writing are the files locked? How can we verify that the file is closed and available? (http://www.b4x.com/android/forum/threads/class-flexible-table.30649/page-11#post-249347 and subsequent posts).
Erel B4X founder Staff member Licensed User Longtime User May 28, 2014 #2 WriteList / Map / String open an output stream, write the data and close the output stream. If you are opening an OutputStream yourself then you are responsible for closing it. Upvote 0
WriteList / Map / String open an output stream, write the data and close the output stream. If you are opening an OutputStream yourself then you are responsible for closing it.
LucaMs Expert Licensed User Longtime User May 28, 2014 #3 Thanks for the info. In the post related to the link, we are looking for a way to know the moment at which the closing occurs. [Probably, we should try to write on "the same file", hoping to get an error to be catched] Last edited: May 28, 2014 Upvote 0
Thanks for the info. In the post related to the link, we are looking for a way to know the moment at which the closing occurs. [Probably, we should try to write on "the same file", hoping to get an error to be catched]