Re: itcl destructor



Antonio Ceballos wrote:

> Is there a way to destruct itclobjects? I have not found it.

Well, I can see 2 possibly questions here:

Question1: Is there destructor in Itcl objects?
Answer1: Yes, it is. Just define it inside of Itcl class declaration,
like this:
itcl::class ClassName {
# some code
destructor {
# code of destructor
}
# some code
}

Question2: How to destroy Itcl objects?
Answer2: Simply, using:
itcl::delete object ItclObject


P.S. See Itcl manual pages, you need this :)

--
Pozdrawiam (Greetings)!
Googie
.