View · Search · Index
No registered users in community xowiki
in last 10 minutes

Re: [Xotcl] NX attributes

From: Gustaf Neumann <neumann_at_wu-wien.ac.at>
Date: Wed, 18 May 2011 10:55:37 +0200

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