No registered users in community xowiki
in last 10 minutes
in last 10 minutes
[Xotcl] getting full name object
From: <mail_at_xdobry.de>
Date: Thu, 21 Oct 2004 13:46:01 +0200
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
Date: Thu, 21 Oct 2004 13:46:01 +0200
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