Version 7 of script

Updated 2013-04-15 04:52:59 by pooryorick



In relation to programming languages, script refers to the non-compiled interpreted portion of a program.

See Also



In Tcl, a script is a collection of 0 or more Tcl commands separated by semicolon or newline. Said commands can later be sourced if stored in a file, run from a command line invocation of a TCL interpreter, [[eval]'ed from a variable, invoked as a part of a call-back, and possibly executed in other ways .

Not only that, but a script need not be in Tcl. One could, for example, dynamically generate scripts written in Perl, ksh, awk, or any other scripting language.

Why might you do that? Well, most languages have unique features or functions available which make doing certain things easy. In some cases, using something built in or distributed in one language is quicker than reinventing the wheel in another language.