This is why you are better off using object such as TCollection and TCollection item. there is no delete from the middle. shift all the memory down and setlength minus one
-----Original Message-----
From: Jason Coley [mailto:[EMAIL PROTECTED]]
Sent: Friday, 7 February 2003 11:37 a.m.
To: Multiple recipients of list delphi
Subject: [DUG]: Delete a variable from a Dynamic Array

What is the best method to remove a variable from a dynamic array?

 

I need to delete an variable, but not always the last one, maybe one from the middle?

 

Regards

 

Jason Coley

Manawatu Software Solutions

email: [EMAIL PROTECTED]

web: http://www.software-solutions.co.nz

 

 

Reply via email to