AnsweredAssumed Answered

Delete Records from text file

Question asked by Utsavi Kalpesh Bharuchwala on May 10, 2015
Latest reply on May 12, 2015 by Utsavi Kalpesh Bharuchwala



I am working with Codewarrior v10.6 and of MQX v4.0.


I have create a .txt in SDCard. And I am writing a numbers of Record into .txt file. I also have put the limits to write say only 10000 records into .txt and if 10001 record comes then I need to delete the first record.


I have done this manually by read , shift and copy logic.But I dont want to write that code stuffs in my project due to limit of RAM and CPU time, instead want simple function in mfs library that make it happen.


So is there any inbuilt function or any another simple idea that can remove the records from text file??


Please help me.