Re: itcl destructor
- From: Googie <googie@xxxxxxxxxx>
- Date: Tue, 30 Aug 2005 20:35:17 +0000
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
.
- References:
- itcl destructor
- From: Antonio Ceballos
- itcl destructor
- Prev by Date: Re: .text search unexpected match
- Next by Date: PSPad: Syntax highlighting for Tcl
- Previous by thread: itcl destructor
- Next by thread: Re: itcl destructor
- Index(es):