File input/output: Difference between revisions

Updated whitespace.
(Added Wren)
(Updated whitespace.)
Line 801:
=={{header|BBC BASIC}}==
[[BBC BASIC for Windows]] has a file copy command:
<lang bbcbasic> *COPY input.txt output.txt</lang>
Alternatively the copy can be done explicitly:
<lang bbcbasic> infile% = OPENIN("input.txt")
outfile% = OPENOUT("output.txt")
WHILE NOT EOF#infile%
BPUT #outfile%, BGET#infile%
ENDWHILE
CLOSE #infile%
CLOSE #outfile%</lang>
 
=={{header|Befunge}}==