Take Command / TCC Help v. 13.03
Tcl/tk SupportNot in LE
Hide Navigation Pane
Tcl/tk SupportNot in LE
Previous topic Next topic No directory for this topic No expanding text in this topic  
Tcl/tk SupportNot in LE
Previous topic Next topic Topic directory requires JavaScript JavaScript is required for expanding text JavaScript is required for the print function Mail us feedback on this topic!  

Comments (...)

The Tcl/tk language is not built into TCC, and must be obtained separately.  The version supported by TCC is ActiveTcl 8.5.7 (free from www.activestate.com).

 

You must enable Tcl support in the OPTION / Startup page. If it is enabled, TCC will automatically load a Tcl interpreter when it starts.  If a suitable library is found, TCC checks to see if you are running a .TCL file. If so, TCC passes the file to your Tcl interpreter for processing.

 

It's not possible for TCC to determine in advance whether you're running a Tcl or a Tk script.  After executing the script, TCC checks if a Tk window is running.  If so, it enters a Tk event loop and waits for the window to be closed.  If not, TCC assumes it was a Tcl script and TCC returns immediately.

 

Because of the way the Tk interpreter works, it is not possible for TCC to maintain a persistent interpreter after executing a Tk script. TCC will close the current Tcl/tk interpreter and create a new one the next time a Tcl / tk script is executed.

 

See also @TCL and @TK.

Comments (...)