Better samples for Pascal

This commit is contained in:
Paul Chaignon
2015-01-24 01:32:56 +01:00
parent f854a12043
commit c7668ad882
4 changed files with 169 additions and 51 deletions

22
samples/Pascal/large.pp Normal file
View File

@@ -0,0 +1,22 @@
program large;
const
max = 100000000;
type
tlist = array[1..max] of longint;
var
data : tlist;
i : integer;
begin
i := 0;
while(i < max)
do
begin
data[i] := 0;
Writeln(data[i])
end
end.