Arnulf Wiedemann
-
2014-09-20
- status: open --> closed-out-of-date
- Group: --> 3.3.0
If I have an itcl class named myClass and I create an
instance of it, tcl automatically looks up and loads
the required source code for that class.
What I was trying to do is declaring a static function
named myFunction (using the proc keyword) inside
myClass and calling it before I create any instances of
myClass. Tcl complained about invalid command name
myClass::myFunction. It seems reasonable to me that the
source code will not be loaded, as from the source code
I could see that the class
command loads the required source file.
As far as I see it should be loaded automatically.