[Gambas-user] Write-Read from text file

Jose J. Rodriguez joe1962 at ...626...
Tue Jun 27 01:49:37 CEST 2006


On 6/26/06, LinuxSeeker <linuxseeker at ...626...> wrote:
> I am writing a program that needs to interact with the user and save the
> user's preferences (name, number of textboxes etc) in a text file (named
> "conf") at the same directory where the executable is located.
>
[snip]
>
>  Any suggestions on how to make this work? How can I update the
> configuration file without re-writing the entire configuration file? How do
> I select which line to read from?
>

You should consider using the Gambas component gb.settings
(Application settings management):
http://www.gambasdoc.org/help/comp/gb.settings

Regards,
Joe1962




More information about the User mailing list