home *** CD-ROM | disk | FTP | other *** search
-
-
-
- TTTTccccllll____RRRReeeeccccoooorrrrddddAAAAnnnnddddEEEEvvvvaaaallll((((3333)))) TTTTccccllll (((( )))) TTTTccccllll____RRRReeeeccccoooorrrrddddAAAAnnnnddddEEEEvvvvaaaallll((((3333))))
-
-
-
- _________________________________________________________________
-
- NNNNAAAAMMMMEEEE
- Tcl_RecordAndEval - save command on history list before
- evaluating
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ttttccccllll....hhhh>>>>
-
- int
- TTTTccccllll____RRRReeeeccccoooorrrrddddAAAAnnnnddddEEEEvvvvaaaallll(_i_n_t_e_r_p, _c_m_d, _e_v_a_l)
-
- AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
- Tcl_Interp *_i_n_t_e_r_p (in) Tcl interpreter in which
- to evaluate command.
-
- char *_c_m_d (in) Command (or sequence of
- commands) to execute.
-
- int _e_v_a_l (in) 0 means evaluate _c_m_d,
- TCL_NO_EVAL means record
- it but don't evaluate it.
- _________________________________________________________________
-
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- TTTTccccllll____RRRReeeeccccoooorrrrddddAAAAnnnnddddEEEEvvvvaaaallll is invoked to record a command as an event
- on the history list and then execute it. It returns a
- completion code such as TCL_OK just like TTTTccccllll____EEEEvvvvaaaallll and it
- leaves information in _i_n_t_e_r_p->_r_e_s_u_l_t. If you don't want the
- command recorded on the history list then you should invoke
- TTTTccccllll____EEEEvvvvaaaallll instead of TTTTccccllll____RRRReeeeccccoooorrrrddddAAAAnnnnddddEEEEvvvvaaaallll. Normally
- TTTTccccllll____RRRReeeeccccoooorrrrddddAAAAnnnnddddEEEEvvvvaaaallll is only called with top-level commands
- typed by the user, since the purpose of history is to allow
- the user to re-issue recently-invoked commands. If the _e_v_a_l
- argument is TCL_NO_EVAL then the command is recorded without
- being evaluated.
-
-
- KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
- command, event, execute, history, interpreter, record
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 1 (printed 7/10/95)
-
-
-
-