[Gambas-user] Rewrite a line of a File
Dimitri Bellini
dimitribellini at ...69...
Fri May 7 11:11:33 CEST 2004
Dear Gianni
I have think the same solution as you say in the last mail. No other solution
is possible? :-)
Thanks in advance
Dimitri
On Thursday 06 May 2004 08:04 pm, Gianni Piccini wrote:
> On Thu, 6 May 2004 18:26:04 +0200, you wrote:
> > Some idea how can i replace it?
> > Thanks in advance for any tips :-)
>
> I'm going to write a similar thing this night, if file is small, I would
> read all of it, split into lines for an array, and then search and replace
> for the correct line, then save the file again with array contents. Or read
> config file line by line, and save every line in another file during
> reading, with the modification of the correct line.
> If somebody knows simpler tasks like using writeprivateprofilestring in
> windows, tell us :-)
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by Sleepycat Software
> Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to
> deliver higher performing products faster, at low TCO.
> http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
More information about the User
mailing list