BBS: Inland Empire Archive Date: 02-23-93 (06:49) Number: 368 From: LYN BORCHERT Refer#: NONE To: AL SCHOEPP Recvd: NO Subj: Qbscrapbook Distribution Conf: (2) Quik_Bas
Saturday February 20 1993, Al Schoepp writes to Calvin French: AS> Next question, AS> Is there some way to delete a record from a random access file other AS> than copying all the records except the ones marked for deletion. Yes, but it's risky. It's "write-in-place" mode. Lets say you have a file with 10 records in it numbered 1 to 10. You want to delete record number 5 from the file. Open the file twice as file number 1 and 2. (same file) Read in record 6 and write it out to record 5 then read record 7 and write it as 6 and so on through the file. If a disk cache is loaded you will find this to be rather fast. -=[ Lyn ]=- --- * Origin: ->Home of JEM DISC CD-ROM, Freq. JEMDISC for Info.<- (1:300/12)
Books at Amazon:
Back to BASIC: The History, Corruption, and Future of the Language
Hackers: Heroes of the Computer Revolution (including Tiny BASIC)
Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution
The Advent of the Algorithm: The Idea that Rules the World
Moths in the Machine: The Power and Perils of Programming
Mastering Visual Basic .NET