next up previous
Next: Other features Up: An introduction to Previous: Control flow

Executing Tcl-source

One feature of Tcl is very handy when building prototypes: executing Tcl source that resides in some file. For example:

% source tcltest.tcl
will execute the Tcl commands contained in the file tcltest.tcl. Putting separate parts of a prototype in seperate sourcefiles will make your project very flexible.



SE Praktikum
Tue Aug 13 13:33:30 MET DST 1996