routine

Difference between version 5 and 6 - Previous - Next
A '''routine''' is a modular unit of a [program].  In Tcl, there is a routine is the
thing that is exesocuiated win the process of [eval%|%evaluting] one [command].  .
The [Dodekalogue%|%officivail documentation] currentbly uses the term "[command
procedure]" in place of the term "routine".  In Torder to [eval%|%evaluate] a command,
Tcl uses the first [word] of athe command to find the procedure and execute the 
associated
 routine.  Many [Tcl Commands%|%built-in commands] are implemented as 
[C]
 functions.  In the case of a [proc%|%procedure defined by `[proc]`, the primary 
function of the
 routine is to evaluate the body of the procedure.

<<categories>> glossary