Is there a code which will remove a line of text from a file the way that WriteLn adds text to a file?
I know I can create a file like this:
Code: Select all
WriteLn>C:\Users\%USER_NAME%\Desktop\test.txt,nWLNRes,Line 1
WriteLn>C:\Users\%USER_NAME%\Desktop\test.txt,nWLNRes,Line 2
WriteLn>C:\Users\%USER_NAME%\Desktop\test.txt,nWLNRes,Line 3
WriteLn>C:\Users\%USER_NAME%\Desktop\test.txt,nWLNRes,Line 4
WriteLn>C:\Users\%USER_NAME%\Desktop\test.txt,nWLNRes,Line 5
Code: Select all
ReadLn>C:\Users\%USER_NAME%\Desktop\test.txt,2,varLine
MessageModal>varLine
Thank you in advance,
Dominic Fichera