mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-13 09:39:09 +02:00
*** empty log message ***
This commit is contained in:
parent
7f9806390f
commit
5400c36e4f
18
tests/test/testda1.pp
Normal file
18
tests/test/testda1.pp
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
{ %VERSION=1.1}
|
||||||
|
var
|
||||||
|
a1 : array of longint;
|
||||||
|
i : longint;
|
||||||
|
|
||||||
|
begin
|
||||||
|
setlength(a1,10);
|
||||||
|
setlength(a1,0);
|
||||||
|
setlength(a1,10);
|
||||||
|
setlength(a1,100);
|
||||||
|
setlength(a1,10);
|
||||||
|
for i:=0 to 9 do
|
||||||
|
a1[i]:=i*i;
|
||||||
|
setlength(a1,1000);
|
||||||
|
setlength(a1,10);
|
||||||
|
for i:=0 to 9 do
|
||||||
|
writeln(a1[i]);
|
||||||
|
end.
|
Loading…
Reference in New Issue
Block a user