File input/output: Difference between revisions

Content added Content deleted
m (→‎{{header|Fortran}}: not only gfotran (f2003 is enough)+removing spacing around parens, not recommended by most coding conv)
Line 1,246: Line 1,246:
var file = open("input.txt")
var file = open("input.txt")
loop {
loop {
! data += input@file(256)
! data += file(256)
issues {
issues {
break
break
Line 1,253: Line 1,253:
delete("output.txt")
delete("output.txt")
file = open("output.txt")
file = open("output.txt")
output@file(data)
file(data)
}</lang>
}</lang>