1. Computing

Type ... Record, How to destroy?

From Zarko Gajic, About.com GuideApril 15, 2005

Follow me on:

FORUM :: "If I have a record type defined in Delphi, and have an array of my custom records, how do I create an instance and destroy it? " -- "khebs"
Comments
April 27, 2009 at 6:11 am
(1) deadmoto says:

use setlength() and length() functions with your array, and ‘bubble sorting method’ to place an element to delete at the last position before decrease length of your array. To add one record you just need to decrease the length of your array

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

©2013 About.com. All rights reserved.