RosettaCodeData/Task/File-input-output/Io/file-input-output.io

10 lines
165 B
Io
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
inf := File with("input.txt") openForReading
outf := File with("output.txt") openForUpdating
while(l := inf readLine,
outf write(l, "\n")
)
inf close
outf close