[Gambas-user] settings.read()

Benoit Minisini gambas at ...1...
Wed Oct 15 00:36:10 CEST 2008


On mardi 14 octobre 2008, gambas at ...1938... wrote:
> Dear List,
>
> I want to read a settings file, which is not located in the standard
> directory (User.Home &/ ".config/gambas" &/ Application.Name & ".conf").
> Is "Seetings.Read" the right solution for this purpose? When yes, can
> anybody give me an example in form of a code snipplet, please?
>
> TIA
> Stevie
>

You can specify the path of the settings in the Settings constructor.

DIM hMySettings = NEW Settings("/path/to/my/settings.conf")

Regards,

-- 
Benoit Minisini




More information about the User mailing list