Archived
1
0
This repository has been archived on 2025-03-31. You can view files and clone it, but cannot push or open issues or pull requests.
pascal/FILLMEM.PAS
2001-11-30 12:14:44 +01:00

24 lines
326 B
Plaintext

program MemTest;
uses Crt;
var i: longint;
procedure FillMem(x: longint);
begin
WriteLn('FillMem [',x,'] <-');
if x<1982 then FillMem(x+1);
WriteLn('FillMem [',x,'] ->');
end;
begin
ClrScr;
{ i := 0;
repeat
Inc(i);
FillMem(i);
until keypressed;
ReadKey; }
FillMem(1);
end.