[comp.text.tex] FLow-of-control in TeX

dhosek@euler.claremont.edu (Don Hosek) (05/14/91)

In article <1991May14.121233.11823@ifi.uio.no>, janl@ifi.uio.no (Nicolai Langfeldt) writes:
> In article <1991May13.214453.17318@csrd.uiuc.edu> eijkhout@s41.csrd.uiuc.edu (Victor Eijkhout) writes:
> ....
>>input is the only form of iteration imaginable. Hence no loop
>>constructs. Large parts of the design of TeX follow immediately
 
> No loop constructs? I seem to remember that there is both \loop and
> \for available. I've even used one of them once!

\loop is a rather frightening tail-recursive macro which is
highly fragile. Nested loops are difficult at best and extreme
care must be taken when using different tail-recursive macros
together as well.

-dh
 
-- 
Don Hosek                  
dhosek@ymir.claremont.edu  
Quixote Digital Typography 
714-625-0147