eval — Evaluate Hecl code.
eval code
eval
code
The eval command takes a string containing Hecl commands, evaluates them, and returns the result.
set i 0 set str {incr} lappend $str "i" eval $str puts $i
Produces:
1