RosettaCodeData/Task/File-input-output/Icon/file-input-output.icon
2015-02-20 09:02:09 -05:00

5 lines
172 B
Text

procedure main()
in := open(f := "input.txt","r") | stop("Unable to open ",f)
out := open(f := "output.txt","w") | stop("Unable to open ",f)
while write(out,read(in))
end