i know how to read from a ceratin line from a file, but how do u save or overwrite a line in a file?
please help
Printable View
i know how to read from a ceratin line from a file, but how do u save or overwrite a line in a file?
please help
As far as I know, the only way to do it is to rewrite the entire file, sustituting your line for the old one. I have to do something like that for this app I built. I'm not sure if that's the only way though. If you want an example, email me and I'll try to throw something together for you.
If you can read the specified line from a file with the Get Statement, then you should be able to write something back to the specified line with the Put Statement.
Hope this can resolve your problem. :)
ok punks! thanx