Posted on 2001-07-01
i'm using delphi 2 at the moment and have hit a small problem.
I have an array that holds information such as:
when i want to remove a bit of information from the array i set it to equal ''
however, what i want to do is have a routine that will go through the array from the beginning to the end and move the information up if it finds an empty space.
ie: if i made a(0):='' then when i run the routine it would have the array as a(0):='listing two', etc.
also, it needs to be aware that there may be several blanks throughout the array and compact the information as above by moving it up.