Data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 7387c8f97b
commit cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions

View file

@ -0,0 +1,21 @@
var
x: Integer = 5;
label
positive, negative, both;
begin
if (x > 0) then
goto positive
else
goto negative;
positive:
writeln('pos');
goto both;
negative:
writeln('neg');
both:
readln;
end.

View file

@ -0,0 +1,18 @@
label
inloop, outloop;
begin
x := 2;
if x > 0 then
goto inloop;
for x := -10 to 10 do
begin
inloop:
Writeln(x);
if x = 8 then
goto outloop;
end;
outloop:
readln;
end.

View file

@ -0,0 +1,17 @@
label
tryAgain, finished;
begin
x := 0;
try
Writeln(x);
inc(x);
if (x < 10) then
goto tryAgain;
finally
goto finished
end;
finished:
readln;
end.