Re: How to move one element of Dynamic Array of Objects



Hans-Peter Diettrich wrote:

With dynamic arrays, you must initialize all subarrays:
SetLength(TestArray, n);
for i := 0 to n-1 do
SetLength(TestArray[i], m);

Or simply:

SetLength(TestArray, n, m);


--
Rudy Velthuis http://rvelthuis.de

"When I was a kid I used to pray every night for a new bicycle.
Then I realised that the Lord doesn't work that way so I stole
one and asked Him to forgive me." -- Emo Philips.
.