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

  • Re: Is this a legal copy of delphi 7 on eBay
    ... Rudy Velthuis [TeamB] ... "Criticism is prejudice made plausible." ... -- Henry Louis Mencken ...
    (borland.public.delphi.non-technical)
  • Re: The neigh endless 64 bit debate
    ... Rudy Velthuis [TeamB] ... "Criticism is prejudice made plausible." ...
    (borland.public.delphi.non-technical)
  • Re: PChar
    ... Rudy Velthuis (TeamB) ... "Criticism is prejudice made plausible." ...
    (borland.public.delphi.language.objectpascal)
  • Re: C header to Pascal help
    ... Rudy Velthuis [TeamB] ... "Criticism is prejudice made plausible." ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: First Pendolino Ride
    ... at least we have a measure of how informed your criticism is. ... > So is there some magical process which somehow makes it better if you travel ... them are reasoned criticism rather than prejudice. ... Prev by Date: ...
    (uk.railway)