Re: itcl destructor
- From: Sektor van Skijlen <ethouris@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 31 Aug 2005 08:41:39 +0000 (UTC)
Dnia Tue, 30 Aug 2005 19:43:39 +0200, Antonio Ceballos skrobie:
> Hi all,
> Is there a way to destruct itclobjects? I have not found it.
If you want to plan the cleanup after object, use "destructor"
declaration in a class.
If you want to destroy a Itcl object:
1. For normal, dynamic object, use "delete object" command
2. If you create an object as itcl::local, the object will be
destroyed at the end of the procedure it was created in
--
// _ ___ Michal "Sektor" Malecki <sektor(whirl)kis.p.lodz.pl>
\\ L_ |/ `| /^\ ,() <ethourhs(O)wp.pl>
// \_ |\ \/ \_/ /\ C++ bez cholesterolu: http://www.intercon.pl/~sektor/cbx
"Java does not have pointers!"
.
- References:
- itcl destructor
- From: Antonio Ceballos
- itcl destructor
- Prev by Date: Tktable - differnt column width issue
- Next by Date: Re: package dependency snapshot
- Previous by thread: Re: itcl destructor
- Next by thread: tcltest - global variables
- Index(es):