THX, :)
W dniu czwartek, 13 października 2016 14:13:14 UTC+2 użytkownik Michele Zaffalon napisał: > > What about a newline with write(f, "\n") before writing the next block of > data into the file? > > On Thu, Oct 13, 2016 at 1:08 PM, <program...@gmail.com <javascript:>> > wrote: > >> 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 >> > >