File input/output: Difference between revisions

Content added Content deleted
(Added implementation for Ursa)
Line 2,499: Line 2,499:
<lang bash>#!/bin/sh
<lang bash>#!/bin/sh
cp input.txt output.txt</lang>
cp input.txt output.txt</lang>

=={{header|Ursa}}==
<lang ursa>decl file input output
decl string contents
input.open "input.txt"
output.create "output.txt"
output.open "output.txt"
set contents (input.readall)
out contents output</lang>


=={{header|Ursala}}==
=={{header|Ursala}}==