type
TSize = record
Width, Height: Integer;
end;
TPoint = record
Top, Left: Integer;
end;
TRectangle = record
Size: TSize;
Point: TPoint;
end;
var
Rect: TRectangle;
begin
//记录是值类型,
//无需 Create
Rect.Size.Width := 10;
Rect.Size.Height := 10;
Rect.Point.Top := 5;
Rect.Point.Left := 5;
WriteLn(Rect.Point.Left);
end.