tcleval
Executes a Tcl statement or an array of statements.
Syntax
tcleval(varname)
Argument
- varname
- A string (or string array).
Example
To use the Tcl interpreter to add two numbers and then
set a Templex variable to the result:
Templex Expression | Results |
---|---|
{ result = tcleval("expr 5+2")
|
7 |
Comments
This command can be used to query information through the Tcl command layer and format it through Templex into a report.