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

28
tests/test159.pas Normal file
View file

@ -0,0 +1,28 @@
program test159;
var s:string[131072];
i:integer;
c:char;
buf:string;
begin
writeln('creating test string...');
c := 'A';
for i := 1 to maxlength(s) do
begin
appendchar(s,c);
c := succ(c);
if c = 'z' then
c := 'A';
end;
writeln('string length: ', length(s));
writeln(s[1], s[2], s[3]);
writeln('moving stuff...');
repeat
write('>');
readln(buf);
strmoveup(s, 1,100000,1);
writeln(s[1], s[2], s[3]);
until buf = 'x';
end.