[Gambas-user] static ? in variables
Tobias Boege
taboege at ...626...
Fri Jun 16 13:03:27 CEST 2017
On Fri, 16 Jun 2017, adamnt42 at ...626... wrote:
> On Fri, 16 Jun 2017 12:38:50 +0200
> Tobias Boege <taboege at ...626...> wrote:
>
> > Can you give a full project? The attached project contains everything
> > you said about your class, and it works. It is instantiable. Is the
> > *error message* really that the class cannot be instantiated or is
> > there another error which just prevents objects from being created,
> > e.g. you use the "status" variable in the _new method? <-----------?
> >
> > Regards,
> > Tobi
> >
> > --
> > "There's an old saying: Don't change anything... ever!" -- Mr. Monk
>
> Eh? You can use static variables in dynamic methods... or Constants would never work.
> (You cannot access dynamic variables from static methods.)
>
Right :-/ (in my defense, this was the first thing I did after waking up)
I should've just said: give a full project.
--
"There's an old saying: Don't change anything... ever!" -- Mr. Monk
More information about the User
mailing list