The following problem has arisen:
I have created a complex record
Foo2 = record
__foo2byte: array of byte;
Foo1 = record
__Foo1: array of Foo2;
PTest = ^TTest;
TTest = record
_1: array of Foo1;
Ttest_1 : TTest;
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.
- 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?