Deleting the last set of data written in text file
I have a problem here, I had tired to log a few set of data inside a text file before running a couple of function. Is there anyway to delete the data entered at the end of the program if there was no error in my function?
Re: Deleting the last set of data written in text file
It would be better if you dont write it immediately but have them ready to be written and when no error occurs discard it. Once written you need to read and re-write the needed by discarding the unwanted data.
|All times are GMT +5.5. The time now is 10:22.|