File input/output: Difference between revisions
→{{header|OCaml}}
(Changed for loop in 'simple' implementation to while loop. Using a for-loop like that in Java is terrible practice and unclear. The extra line for the String declaration is worth the extra clarity) |
|||
Line 1,105:
(Notice that ic and oc, of type ''in_channel'' and ''out_channel'', are buffered)
=={{header|OpenEdge/Progress}}==
<lang OpenEdge/Progress>COPY-LOB FROM FILE "input.txt" TO FILE "output.txt".</lang>
=={{header|Oz}}==
|