eval(n) Tcl Built-In Commands eval(n)
____________________________________________________________________________________________________________
NAME
eval - Evaluate a Tcl script
SYNOPSIS
eval arg ?arg ...?
____________________________________________________________________________________________________________
DESCRIPTION
Eval takes one or more arguments, which together comprise a Tcl script containing one or more com-mands. commands.
mands. Eval concatenates all its arguments in the same fashion as the concat command, passes the
concatenated string to the Tcl interpreter recursively, and returns the result of that evaluation (or
any error generated by it). Note that the list command quotes sequences of words in such a way that
they are not further expanded by the eval command.
KEYWORDS
concatenate, evaluate, script
SEE ALSO
catch(n), concat(n), error(n), list(n), subst(n), tclvars(n)
Tcl eval(n)
|