Anonymous user
File input/output: Difference between revisions
→{{header|Lua}}
(added lua) |
|||
Line 793:
copy "input.txt "output.txt</lang>
=={{header|Lua}}==
<lang lua>
if
▲out_file = io.open("output.txt", "w")
end
--read the whole file from in and write to out
</lang>
=={{header|MAXScript}}==
<lang maxscript>inFile = openFile "input.txt"
|