Hello Use data frame that is much better than txt file.
Em quinta-feira, 13 de outubro de 2016 08:08:53 UTC-3, program...@gmail.com escreveu: > > How to write data to new line in outfile.txt file, in this script data i > still writing in the same line > > io=open("outfile.txt", "w" > o=open("dump.txt") > for i=1:100 > temp=readline(o) > poz=findin(temp,",")[3] > write(io, temp[1:poz-1]) > end > close(o) > close(io) > > Paul >