..methods access inside class..

BlitzMax Forums/BlitzMax Programming/..methods access inside class..

Naughty Alien(Posted 2011) [#1]
..how should i set methods of my choice, to be non accessible from outside of class ??

Last edited 2011


Brucey(Posted 2011) [#2]
Private methods? You can't.


Naughty Alien(Posted 2011) [#3]
it seems that Private/Public doesn't work inside classes..


Brucey(Posted 2011) [#4]
Indeed. It's a shame really.


Czar Flavius(Posted 2011) [#5]
It is a shame but remember public/private members is just a compile-time check anyway, to keep you in line. I prefix private methods with "_" to show that they are private. Method _InternalStuff()