Hello,

The following problem has arisen:

I have created a complex record
[pascal]
Foo2 = record
__foo2byte: array of byte;
end;

Foo1 = record
__Foo1: array of Foo2;
end;

PTest = ^TTest;
TTest = record
_1: array of Foo1;
end;


var
Ttest_1 : TTest;
[/pascal]
filling Ttest_1 with data, I set all arrays in the program using setlength and fill in the data. I also have created a linked list, of the pointer type Ptest. Now, I want to fill a new item of the list with Ttest_1.

Question:

- How can the new instance of the list 'know' all the dimensions of the array's I set in Ttest_1?
- Is there a fast way to fill in all the data of Ttest_1 in the new list item?