Query: eval
OS: opendarwin
Section: n
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
eval(n) Tcl Built-In Commands eval(n) __________________________________________________________________________________________________________________________________________________NAMEeval - Evaluate a Tcl scriptSYNOPSISeval arg ?arg ...? _________________________________________________________________DESCRIPTIONEval takes one or more arguments, which together comprise a Tcl script containing one or more commands. Eval concatenates all its argu- ments 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.KEYWORDSconcatenate, evaluate, scriptSEE ALSOcatch(n), concat(n), error(n), list(n), subst(n), tclvars(n) Tcl eval(n)