[Xotcl] Real value of meta-class

Rick Hedin rhedin at aquifer.geology.uiuc.edu
Mon Jan 29 18:51:55 CET 2001


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





More information about the Xotcl mailing list