hi! is it possible to append text on top instead of last line in a textfile?
or would it be possible to just read the last line of text without reading all the lines?
thanks
Printable View
hi! is it possible to append text on top instead of last line in a textfile?
or would it be possible to just read the last line of text without reading all the lines?
thanks
no text is pretty much top to bottom left to right in terms of reading it in.
If you want to add to the top of a textfile, what you need to do is read the whole file into memory (string variable) and then stick the text on the front of that, and write the entire string back to the file.
im having trouble writing to a text document multiple times, im sorry for posting about my problem in your thread, but im stressed for time, i would appreciate any help... sorry again