On Tue, Jul 31, 2018 at 11:39 AM Santiago A. wrote:
> I'm not very sure how open arrays are copied
>
In your example you don't have open arrays used - you have dynamic arrays.
> I looks like working fine. MyArray.ArrayInt[0] is still 5. But I wonder
> whether it is really right or just luck. O
Hello:
I'm not very sure how open arrays are copied
program Project1;
Type
TMyRecord=record
somedata:string;
ArrayInt:array of integer;
end;
TRecordList=array of TMyRecord;
procedure foo(out aList:TRecordList);
var
TmpList:TRecordList;
begin
SetLength(TmpL