Name

eval — Evaluate Hecl code.

Synopsis

eval code

Description

The eval command takes a string containing Hecl commands, evaluates them, and returns the result.

Example

set i 0
set str {incr}
lappend $str "i"
eval $str
puts $i
	  

Produces:

1