File input/output: Difference between revisions

Content added Content deleted
(Updated to compile with Nim 1.4: replaced "writeln" by "writeLine")
Line 672: Line 672:
=={{header|Arturo}}==
=={{header|Arturo}}==


<lang arturo>source: [read "input.txt"]
<lang rebol>source: read "input.txt"
write "output.txt" source
write "output.txt" source

print source</lang>
print source</lang>

{{out}}

<pre>This is some
sample text in input.txt</pre>


=={{header|AutoHotkey}}==
=={{header|AutoHotkey}}==