[Xotcl] NX attributes

Victor Mayevski vitick at gmail.com
Wed May 18 20:01:41 CEST 2011


Very good. Thanks.

On Wed, May 18, 2011 at 1:55 AM, Gustaf Neumann <neumann at wu-wien.ac.at> wrote:
> 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