initial commit

This commit is contained in:
slederer 2024-09-19 14:12:22 +02:00
commit 60db522e87
107 changed files with 36924 additions and 0 deletions

25
tests/readtest.pas Normal file
View file

@ -0,0 +1,25 @@
program readtest;
var filename:string;
buf:char;
f:file;
count:integer;
t:DateTime;
begin
write('Enter filename: ');
readln(filename);
t := GetTime;
writeln('start:', TimeStr(t, true));
open(f, filename, ModeReadOnly);
count := 0;
while not eof(f) do
begin
read(f,buf);
count := count + 1;
end;
close(f);
t := GetTime;
writeln('end:', TimeStr(t, true));
writeln(count, ' bytes read.');
end.