File input/output: Difference between revisions

Content added Content deleted
(Updated whitespace.)
Line 757: Line 757:
300 IF NOT EOF THEN RESUME
300 IF NOT EOF THEN RESUME
310 PRINT M$D$"CLOSE"
310 PRINT M$D$"CLOSE"
</lang>

==={{header|BaCon}}===
<lang freebasic>
text$ = LOAD$("input.txt")
SAVE text$ TO "output.txt"
</lang>
</lang>