I suspect you'll find a variant array can be redimensioned in one step ...
As to whether that redimensioning will reallocate within the array I am
unsure (see the help).
Cheers
-----Original Message-----
From: Damien Long [mailto:[EMAIL PROTECTED]]
Sent: 21 March 2001 16:23
To: Multiple recipients of list delphi
Subject: [DUG]: Array - deleting an element
What i am trying to do is delete an element from an array so that array
length is then one less than is was and that i don't have a element that is
null.
eg delete element 3 from array, array is 6 elements long
do something to the array to make it 5 elements without a null element
Thanks in advance
Damien Long
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"