Gambas equivalent of C# Protected?

Post your Gambas programming questions here.
Post Reply
User avatar
sjsepan
Posts: 68
Joined: Saturday 12th October 2019 10:11pm
Location: Leeper, PA, USA
Contact:

Gambas equivalent of C# Protected?

Post 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.
User avatar
jornmo
Site Admin
Posts: 224
Joined: Wednesday 21st September 2016 1:19pm
Location: Norway

Re: Gambas equivalent of C# Protected?

Post by jornmo »

User avatar
sjsepan
Posts: 68
Joined: Saturday 12th October 2019 10:11pm
Location: Leeper, PA, USA
Contact:

Re: Gambas equivalent of C# Protected?

Post 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.
Post Reply