I read all all non-blank records into an array, close then reopen the file for output to set it's length to zero, then close and reopen to random and put the records back. I know it's long and round-about and a pain, but it's the only way I've figured out how to do it.
Comments
I read all all non-blank records into an array, close then reopen the file for output to set it's length to zero, then close and reopen to random and put the records back. I know it's long and round-about and a pain, but it's the only way I've figured out how to do it.
Hope this helps!