[Gambas-user] Interpreter's treatment of classes
Jussi Lahtinen
jussi.lahtinen at ...626...
Fri Apr 11 15:00:23 CEST 2014
> However, it doesn't behave as an usual instance of
> the class 'Class'. For instance, it is impossible to access the public
> methods and properties defined within the class 'Class' using some
> expression like 'CLASS-CLASS.SYMBOL' where the meta-syntactic variable
> 'SYMBOL' is a public symbol of the class 'Class'. Therefore, the
> assertion that CLASS-CLASS evaluates to some object which is an
> instance of the class 'Class' is somewhat meaningless underneath the
> usual concept of class/instance of object oriented programming.
>
If I have understood correctly you are referring to MMain which is module,
not normal class.
And in modules everything is static automatically.
I will look more closely later.
Jussi
More information about the User
mailing list