![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
11 Dec
2008
11 Dec
'08
8:07 a.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