Tcl/Tk Documentation > TclLib > RecordEval
Tcl_RecordAndEval(interp, cmd, flags)
- Tcl_Interp *interp (in)
- Tcl interpreter in which to evaluate command.
- const char *cmd (in)
- Command (or sequence of commands) to execute.
- int flags (in)
- An OR'ed combination of flag bits. TCL_NO_EVAL means record the command but do not evaluate it. TCL_EVAL_GLOBAL means evaluate the command at global level instead of the current stack level.
Note that Tcl_RecordAndEval has been largely replaced by the object-based procedure Tcl_RecordAndEvalObj. That object-based procedure records and optionally executes a command held in a Tcl object instead of a string.Tcl_RecordAndEvalObj command, event, execute, history, interpreter, record
Copyright © 1995-1997 Roger E. Critchlow Jr. Copyright © 1989-1993 The Regents of the University of California. Copyright © 1994-1997 Sun Microsystems, Inc.