[Gambas-user] Concurrent gb.settings

PICCORO McKAY Lenz mckaygerhard at gmail.com
Tue May 1 03:34:34 CEST 2018


that's not taking about, i talk about that:

Color*[**0**]* *=* "&FFFFFF&"Color*[**1**]* *=*
"&000000&"Color*[**2**]* *=* "&00C0A0&"Color*[**3**]* *=* "&00C000&"
Benoit? here are a key with a number's slots



Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com

2018-04-30 14:09 GMT-04:00 T Lee Davidson <t.lee.davidson at gmail.com>:

> The slot is to group related key/value pairs together.
>
> If you have:
> Public Sub Form_Close()
>   ' Save window settings when application closes
>   Settings["Window/Top"] = Me.Top
>   Settings["Window/Left"] = Me.Left
>   Settings["Window/Height"] = Me.Height
>   Settings["Window/Width"] = Me.Width
> End
>
> The saved settings file would look something like the following:
> [Window]
> Top = 13
> Left = 18
> Height = 154
> Width = 235
>
> To save a setting, the syntax is Settings["SLOT/KEY"] = VALUE
>
> When retrieving a setting, you can set a default value in case the setting
> is not found in the file.
> To retrieve a setting, the syntax is VALUE = Settings["SLOT/KEY",
> DEFAULT_VALUE]
>
>
> See http://gambaswiki.org/wiki/comp/gb.settings/settings
>
>
> --
> Lee
>
>
> On 04/29/2018 04:53 PM, PICCORO McKAY Lenz wrote:
> > thanks  for clarification Benoit, great!
> >
> > and about the slot line, which begins with a '|[|' character, and ends
> with a '|]|' character.
> >
> > wiki said: "This groups key/value lines together in a slot" but due a
> language barrier i cannot understand that in a gambas
> > example code
> >
> > i have sne d apreviously mail about that!
> >
>
> --------------------------------------------------
>
> This is the Gambas Mailing List:
> https://lists.gambas-basic.org/listinfo/user
>
> Search the list:
> https://lists.gambas-basic.org/cgi-bin/search.cgi
>
> Hosted by https://www.hostsharing.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20180430/d6e4b528/attachment.html>


More information about the User mailing list