Deleting from a data file

Blitz3D Forums/Blitz3D Programming/Deleting from a data file

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Yep. I'm not aware of any language that allows files to be reduced in size without completely re-writing the file - it's not just a blitz thing. If you think about how data is stored on disk, it makes sense.

You can append to an existing file, but if you do this often with large files, the file (sectors) could become fragmented across the disk. This could potentially affect loading times adversely - as well as giving your HD a good workout.