[Gambas-user] Accessor
Fabien Bodard
gambas.fr at ...626...
Mon Dec 8 15:28:19 CET 2014
I think i have used the term accessor in a bad way ... arf i've a so
bad english :-/
2014-12-08 15:27 GMT+01:00 Fabien Bodard <gambas.fr at ...626...>:
> 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
--
Fabien Bodard
More information about the User
mailing list