11 Dec
2008
11 Dec
'08
3:07 p.m.
On Thu, 11 Dec 2008, Bart C. Wise wrote:
When I run the code below (via minimals), I get the following error, why?
\newcount\startcnt \newcount\tempcnta
\def\myloop#1{% \message{enter} \tempcnta=\the\startcnt% \loop \message{loop} \advance \tempcnta by 1 \ifnum\tempcnta>#1\else \repeat\fi \message{exit} }
\starttext \startcnt=1800 \myloop{2008} \stoptext
Do you know of \dostepwiserecurse{from}{to}{step}{body}. For example, \starttext \dostepwiserecurse{1800}{2008}{1}{We are at \recurselevel \endgraf} \stoptext Aditya