[Gambas-user] gambas2 1.9.12 settings
Rolf Schmidt
rolf.frogs at ...221...
Sun Jul 17 12:22:41 CEST 2005
Hi PV:
> On 16/07/2005 15:30, forty wrote:
> > hi,
> >
> > on gambas2 1.9.12 the settings load and save doesn' t work.
> > but with gambas 1.8 the same code work.
> >
> > DIM hSettings AS Settings
> >
> > hSettings = NEW Settings(user.Home &/ ".program.conf")
> >
> > hSettings["choice"] = combobox.Text
> > hsettings.save
> >
> > gambas2 comes with ...
> > Unknown symbol 'ToSring' in class 'Main'
> > error.
>
> ToSring should read ToString instead...
> If it's not a typo then it should be related to your problem, because I am
> not experiencing any troubles with Settings in 1.9.12, neither with load
> nor with save.
Try to use single quotes, like this:
hSettings['choice'] = combobox.Text
fine regards
rolf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20050717/1047b46d/attachment.sig>
More information about the User
mailing list