[Gambas-bugtracker] Bug #2018: Malfunction of the Use keyword of Property

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Mon Dec 28 13:09:55 CET 2020


http://gambaswiki.org/bugtracker/edit?object=BUG.2018&from=L21haW4-

Comment #1 by Bruce STEERS:

I confirm this bug (if it is a bug and not by design)
Mentioned in my M/L post...
https://lists.gambas-basic.org/pipermail/user/2020-December/071210.html

As with GianLuigi's image if you use the "Use" method the $sFoo variable shows "publicly" in the IDE's popup list but you cannot write to it, you get a "symbol $sFoo not found in Class1.class" error.

Of course using the old method having...
Private $sFoo As String
makes $sFoo Private and hides it from the IDE.

The "Use" method does not hide it though but it seems to behave as private (unwritable)

Wishing well.
Bruce




More information about the Bugtracker mailing list