View · Search · Index
No registered users in community xowiki
in last 10 minutes

[Xotcl] Real value of meta-class

From: Rick Hedin <rhedin_at_aquifer.geology.uiuc.edu>
Date: Mon, 29 Jan 2001 11:51:55 -0600

Greetings.

I worked through the example in the "Meta-Classes" section of the XOTcl
tutorial. The result is the same whether myMetaClass is a metaclass or not.
If you define it

        Class myMetaClass

rather than

        Class myMetaClass -superclass Class

then

        Agent info superclass

gives the same result.

I understand, in theory, that one wants to derive a class from some "more
basic" entity, but so far it seems to me that I can achieve everything I
want to achieve by starting with a class, not a metaclass, and modifying it.

Is there an example where being a metaclass results in different output?


        Regards,

        Rick