[Xotcl] NX attributes
Gustaf Neumann
neumann at wu-wien.ac.at
Wed May 18 10:55:37 CEST 2011
On 21.01.11 00:17, Victor Mayevski wrote:
> Although it might be something obvious but I cannot think of it at the
> moment. How do I delete attributes created with the "attribute"
> method?
NX provides now an explicit "delete" ensemble, containing
"delete method" and "delete attribute",
therefore it does not require the classic Tcl metaphor "proc
foo {} {}" for deleting a function foo.
Furthermore, "delete attribute" removes the slot objects as
well.
So, one can use now
/obj/ delete attribute/name/
-gustaf neumann
More information about the Xotcl
mailing list