Re: FILEMAN.E
- Posted by Bernie Ryan <bwryan at PCOM.NET> Feb 22, 1999
- 457 views
Suggestion When you delete a record just overwrite a ~ (tilde) character over the first position in the deleted record. To compact the file all you have to do is find the first record in file that begins with ~ (tilde) and over write it with the next record if that record is deleted skip to the next record and etc. I hope you understand what I mean. This would be done in a buffer in memory and would be fairly fast. You could also use a filter that reads in a file and outputs a file while skiping the ~ (tilde) records. The advantage is speed, easy way to delete, and it doesn't cost a byte. Hope you feel better soon Bernie a good record until all deleted records are removed. By the way if