Page 1 of 1

Gambas equivalent of C# Protected?

Posted: Saturday 2nd November 2019 8:58pm
by sjsepan
Does anyone know if there is an equivalent to the C#.Net Protected concept in Gambas?
Specifically, a member in a parent class is marked as private to all except classes derived from the parent class.

Re: Gambas equivalent of C# Protected?

Posted: Saturday 2nd November 2019 9:16pm
by jornmo

Re: Gambas equivalent of C# Protected?

Posted: Saturday 2nd November 2019 10:21pm
by sjsepan
jornmo wrote: Saturday 2nd November 2019 9:16pm I do not think so:

http://gambaswiki.org/wiki/doc/object-model#t3
I skimmed through there earlier and didn't remember seeing anything but Public and Private, but I was hoping I overlooked something.
Thanks jornmo.

UPDATE: the following covers something related to I was looking for..
3.5. Symbol Overriding
[...]
SINCE 3.12
Variables cannot be inherited.