Changing Textfiles
Hey guys, my first post! I'm doing Delphi programming at school at the moment - I'm pretty good, but I do have a couple of questions from time to time. So I thank you in advance for your assistance.
First one for today
How do I change the data in textfiles? I know how to add data to it and completely clear it, but how to I write over the text on a line? Say I have this text file:
How do I change "200" to say "400"?
Thanks! melted.marsbar
First one for today
How do I change the data in textfiles? I know how to add data to it and completely clear it, but how to I write over the text on a line? Say I have this text file:
- Code: Select all
John Smith
100
200
300
How do I change "200" to say "400"?
Thanks! melted.marsbar