rdeReplay
rdeReplay( t_fileName [ g_openCurrentDesign ] [ s_doCheckPoint ] ) ; => t / nil
Description
This function reads the supplied file name and send each line one-at-a-time to the Tcl interpreter. This is in contrast to rdeSource, in which the entire Tcl file is read into the interpreter and then executed. It may be useful in determining which line of a script file had an error, in case an error occurs. Since each line is executed independently, it is not possible to create expressions (such as function definitions) that span more than one line.
Arguments
Value Returned
Examples
The following example opens the current design, executes the command in test.tcl and does an automatic checkpoint.
rdeReplay("test.tcl")
Related Topics
Return to top