[Xotcl] nested objects in nx
vitick at gmail.com
vitick at gmail.com
Tue Oct 26 22:47:11 CEST 2010
I was reading the migration guide, and at the end it talk about the incompatibilities. I have specifically tested the "Calling objects like methods" and I do not understand it. It just doesn't work right.
Example:
Object create a;
Object create a::b
a public method tst args {puts [self]};
a::b public method tst args {puts [self]};
a tst; #works, returns ::a
a::b tst; #error, invalid command self
a::b eval self; #works, returns ::a::b
Thanks
More information about the Xotcl
mailing list