mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-27 08:13:42 +02:00
21 lines
239 B
ObjectPascal
21 lines
239 B
ObjectPascal
{ %norun }
|
|
{ %opt=-Sen }
|
|
|
|
type
|
|
tr = record
|
|
x, y: longint;
|
|
end;
|
|
ta = array[1..10] of tr;
|
|
|
|
var
|
|
a: ta;
|
|
i: longint;
|
|
begin
|
|
for i := low(a) to high(a) do
|
|
with a[i] do
|
|
begin
|
|
x:=i*2;
|
|
y:=i+5+x;
|
|
end;
|
|
end.
|