Re: Reading Text File, Text Scrolling and erase line from a text
by "Markus.Humm" <markus.humm@[EMAIL PROTECTED]
>
Mar 22, 2007 at 10:25 PM
Lidiaa schrieb:
> Hi ,
>
> How can I Reading Text File, then Text Scrolling by means of
> keys "page UP" "page Down" and erase a specific line from a text
> file , when press "F2" key?
>
> Best Regards,
> Lidia from Poland
> --
> =========================================
> Pozdrawiam Lidiaa
Hello,
I can give you at least one hint: you can't delete a single line from a
textfile, you've to copy the contents of the file you want over to a new
tem****ary one and rename that or you have to read out the entire
textfile into memory (e.g. a linked list where each line of the textfile
is one string) and overwrite the existing textfile (rewrite procedure)
with only those parts from your memory storage you want to keep.
Greetings
Markus