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);

Ever heard of SetLength?

SetLength(TestArray, n, m);


--
Rudy Velthuis http://rvelthuis.de

"Criticism is prejudice made plausible."
-- Henry Louis Mencken (1880-1956)
.



Relevant Pages