mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-17 17:39:27 +02:00
22 lines
249 B
ObjectPascal
22 lines
249 B
ObjectPascal
{ %norun }
|
|
{ %fail }
|
|
{ %opt=-Sew }
|
|
|
|
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;
|
|
y:=i+5;
|
|
end;
|
|
end.
|