next up previous contents index
Next: 3.3.2 Invoking OTcl Procedures Up: 3.3 Class Tcl Previous: 3.3 Class Tcl

   
3.3.1 Obtain a Reference to the class Tcl instance

A single instance of the class is declared in Tcl.cc as a static member variable; the programmer must obtain a reference to this instance to access other methods described in this section. The statement required to access this instance is:

        Tcl& tcl = Tcl::instance();




2000-08-24