Hi Guiseppe, The following pattern is supposed to / does work: > file:write("1.txt", "Written to 1.txt"), > file:write("2.txt", file:read-text("1.txt")), > "Read from 2.txt: " || file:read-text('2.txt')
Could you maybe elaborate a bit more on your code? Best from Konstanz Michael > Am 12.03.2019 um 11:19 schrieb Giuseppe G. A. Celano > <cel...@informatik.uni-leipzig.de>: > > Hi > > I wrote a single script which should do: write a file -> open this file -> > write another different file. I put the write expressions in the right > sequence, but it seems that the second one cannot happen because the file > created by the first write function has not yet been created at the time the > second function is invoked. Does anyone have a suggestion about this? Thanks. > > Best, > Giuseppe