I have an array of record.
I stuffed it in a form and I pass to another form through a procedure, it is ok so far.
But I declared a variable of the same type of my array, and when I call the function where I pass
my array I need to copy all the stuff of my source array to my new variable. When I try to do that
I have the following message:
"incompatible types dynamic array and array"
form2 := Tform2.create(application)
MyNewVariable : array of tprod;
tform2.processMyArray(ar : array of tprod)
MyNewVariable := ar --> Here I got that error message.
How could I solve this?