mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 14:09:20 +02:00
+ Example did not close open files
This commit is contained in:
parent
8772ddfc7b
commit
ba17acc6a8
@ -20,4 +20,6 @@ begin
|
|||||||
Until (NumRead=0) or (NumWritten<>NumRead);
|
Until (NumRead=0) or (NumWritten<>NumRead);
|
||||||
Write ('Copied ',Total,' bytes from file ',paramstr(1));
|
Write ('Copied ',Total,' bytes from file ',paramstr(1));
|
||||||
Writeln (' to file ',paramstr(2));
|
Writeln (' to file ',paramstr(2));
|
||||||
|
close(fin);
|
||||||
|
close(fout);
|
||||||
end.
|
end.
|
||||||
|
Loading…
Reference in New Issue
Block a user