is a global
variable provided by programs like tclsh
, and contains either the name of the interpreter invoked, or, if a script was provided to the interpreter for exection, the name of the script.
See Also edit
- main script
- determine whether a script is the main script