Hi,
How do I do aggregation of objects? For example, in Java I have
class Foo { Class1 c1; Class2 c2; }
where Class1 and Class2 are two other classes. How do I create the same effect in XOTcl? I've tried a few variations but I don't get the effect I want so I guess I'm doing wrong.
Also, how do you create and use private data? By this I mean data (and possibly methods) which are only accessible by the class or the object.
Thanks,
L