Node:Removing a Tcl interpreter, Previous:Creating a Tcl interpreter extended with Tk, Up:Basic functions



Removing a Tcl interpreter

To remove a Tcl interpreter from the system, use the tcl_delete/1 predicate:

     tcl_delete(+TclInterpreter)
     

which given a reference to a Tcl interpreter, closes down the interpreter and removes it. The reference can be for a plain Tcl interpreter or for a Tk enhanced one; tcl_delete/1 removes both kinds.