@BAS-Viet-Nam SOLVED THANKS !!!
line break in string
-
Hello,
I am trying desespertely to add line break to string variable.
I cant find a way to do it. I have check and tried the expression string + "\r\n" without successThe problem is that each thread has to write to the same txt file at leats 5 to 7 lines and add a separator "--------"
Unfortunately function writetofile in multithreading is mixing writing line on the txt file.
Is there any mutexes or thread safety system on BAS?
This is the main reason i would like to write all the lines to a string variable before executing a write to file1 writetofile by thread vs 5-7 writetofile by thread
Thanks for any help