[Gambas-user] Property Something as String Use $Something

Gianluigi bagonergi at gmail.com
Sun Dec 27 22:39:58 CET 2020


Il giorno dom 27 dic 2020 alle ore 22:23 Bruce Steers <bsteers4 at gmail.com>
ha scritto:

> > I like this method as it saves time and code but i do not like this
> method because it also makes the $Something variable Public.
>
>> Should it not be Private?
>>
>
> Turns out it's not actually a Public Variable as it says
> "Unknown symbol '$Something in Someclass.class'" if i try to write to it
> from another class/module but I can see it listed in the IDE popup.
>
> I'm thinking i found a glitch.
> Much love
>

I had reported this in August, see here:

https://lists.gambas-basic.org/pipermail/user/2020-August/069923.html

Fabien Bodard's answers follow...

Regards
Gianluigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20201227/23f26d12/attachment.htm>


More information about the User mailing list