I shall look into this to see if I can track down the problem elsewhere then, its just a little strange to me, first time I have really tried to use dynamic arrays.
The reason I chose them was that speed isn't an issue, the number of times they will change is very low, maybe a few changes the first time they use the app then after which it may stay the same for some time, days weeks months. I thought using a dynamic array would allow me to only use the amount of memory I needed and no more, isn't this a good thing, the use of a static array may mean I am wasting memory for no real reason but to make it a little easier to program. Anyway thanks to all who have added to the conversation! Jay -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Carl Reynolds (E-mail) Sent: Saturday, 8 February 2003 2:41 p.m. To: Multiple recipients of list delphi Subject: RE: [DUG]: Delete a variable from a Dynamic Array Hi everyone, long time no see. Jason, I strongly doubt the problem is in the dynamic array implementation itself, if only because I've used them so many times that I would have expected to run into something similar by now. The code you posted doesn't look wrong. Can you duplicate the problems you're having in a simple app? Perhaps there's a pointer writing somewhere it shouldn't, or another array (like Images) writing outside its bounds? Maybe you could post a bit more code... Cheers, Carl --------------------------------------------------------------------------- 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" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/