<HTML><HEAD><TITLE>Built-In Commands - eval manual page</TITLE></HEAD><BODY> <H3><A NAME="M2">NAME</A></H3> eval - Evaluate a Tcl script <H3><A NAME="M3">SYNOPSIS</A></H3> <B>eval </B><I>arg </I>?<I>arg ...</I>?<BR> <H3><A NAME="M4">DESCRIPTION</A></H3> <B>Eval</B> takes one or more arguments, which together comprise a Tcl script containing one or more commands. <B>Eval</B> concatenates all its arguments in the same fashion as the <B><A HREF="../TkCmd/concat.htm">concat</A></B> command, passes the concatenated string to the Tcl interpreter recursively, and returns the result of that evaluation (or any error generated by it). <H3><A NAME="M5">KEYWORDS</A></H3> <A href="../Keywords/C.htm#concatenate">concatenate</A>, <A href="../Keywords/E.htm#evaluate">evaluate</A>, <A href="../Keywords/S.htm#script">script</A> <H3><A NAME="M6">SEE ALSO</A></H3> <B><A HREF="../TkCmd/catch.htm">catch</A></B>, <B><A HREF="../TkCmd/concat.htm">concat</A></B>, <B><A HREF="../TkCmd/error.htm">error</A></B>, <B>subs</B>, <B><A HREF="../TkCmd/tclvars.htm">tclvars</A></B> <HR><PRE> <A HREF="../copyright.htm">Copyright</A> © 1993 The Regents of the University of California. <A HREF="../copyright.htm">Copyright</A> © 1994-1996 Sun Microsystems, Inc. <A HREF="../copyright.htm">Copyright</A> © 1995-1997 Roger E. Critchlow Jr.</PRE> </BODY></HTML>