[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


Comment #1 by Bruce STEERS:

I confirm this bug (if it is a bug and not by design)
Mentioned in my M/L post...

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.

More information about the Bugtracker mailing list