[Gambas-user] [Gambas Bug Tracker] Bug #1272: DBus not fully case sensitive
Jussi Lahtinen
jussi.lahtinen at gmail.com
Wed Mar 21 20:17:57 CET 2018
??
The error is in this line:
Try iState = hDBusProxy.State
It should be:
Try iState = hDBusProxy.State()
Or:
Try iState = hDBusProxy.state()
The case doesn't matter in Gambas.
Jussi
On Wed, Mar 21, 2018 at 8:01 PM, <bugtracker at gambaswiki.org> wrote:
> http://gambaswiki.org/bugtracker/edit?object=BUG.1272&from=L21haW4-
>
> Comment #1 by Benoît MINISINI:
>
> It's Gambas that is not case sensitive. It picks the case from the first
> time the symbol is encountered.
>
> So if it sees ".state()" first, it will use lower case for all occurrences
> of that symbol ('State', 'sTaTE', 'STATE'...) and you won't get any error.
>
> Otherwise, if you use for example '.State()' first, you will get an error.
>
>
>
> --------------------------------------------------
>
> 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/20180321/fe9f5a5a/attachment-0001.html>
More information about the User
mailing list