Node:source, Previous:Global variables, Up:Commands



source

In common with other scripting languages, there is a command for evaluating the contents of a file in the Tcl interpreter:

     source fileName
     

where fileName is the filename of the file containing the Tcl source to be evaluated. Control returns to the Tcl interpreter once the file has been evaluated.