When an array is declared in this form, the memory is allocated statically:
var
Data: array[0..5] of integer;
My question is when the array is declared in the following way:
var
Data: array of integer;
....
SetLength( Data, Length( Data ) + 1 );
Is the memory allocated statically or dynamically?
I think that the memory is allocated statically and the array is copied in memory, but I am not certain.