[Xotcl] getting full name object

mail at xdobry.de mail at xdobry.de
Thu Oct 21 13:46:01 CEST 2004


Hi!

I work currently with 1.3.2 and have one problem
that relate to namespace handling.
I would need new object method that could return full name of
object
(similar to "namespace origin" command)

I could not find any possibility to get it from
build-in Object methods.
I would expect that "self" or "my" on object would work.

So I must programm new global Object instproc:

Object instproc fullname {} { self }

so it work

Object a
a fullname
>::a

Is were any better possibility to get the same result?
If not it could be idee to extend object base interface (for example
info command)

Artur Trzewik


More information about the Xotcl mailing list