[Gambas-user] Accessor

Fabien Bodard gambas.fr at ...626...
Mon Dec 8 15:27:15 CET 2014


What about let the class ME accessor the possibility to access to the
class private global value.


Private toto as integer

Public sub _New (Toto as integer)

  me.toto = Toto

end



Actually i can't use the name Toto in the _New param because

Toto = Toto only work on the local variable.

-- 
Fabien Bodard




More information about the User mailing list