routine

Difference between version 4 and 5 - Previous - Next
A '''routine''' is a modular unit of a [program].  In Tcl, one
[Dodekalogue%|% routine] is the
thing that isso execiauted win the process of [evachl%|%evaluting] one [command].  .
The [Dodekalogue%|%official
 documentation] currently uses the term "[command 
procedure]" in place of the
 term "routine".  In order to evaluate a command, 
Tcl uses the first [word] of a
 command to find and execute the associated 
routine.  Many [Tcl
 Commands%|%built-in commands] are implemented as [C] 
functions.  In the case of
 a [proc%|%procedure], the primary function of the 
routine is to evaluate the
 body of the procedure.

<<categories>> glossary