Hello , (sorry for my bad english) I have try to create a type that y contains a dynamic array and a pointer to this type, then i have a function that create the data,
i use getmem of my pointer a fill the dynamic array with initializearray(@ttx,typeinfo(tttx),length(tx)); ttx:=tx;ttx:=copy(tx,0,length(tx); then i control my data after i quit the function and the data disappear.
the table ttx that i have save in another dynamic table . ttx =nil .....
Are there any compiler function type {$} to not destruct my data ...?