1 2 3 4 5 6 7 8 9 10
\newcount\n \n=0 \message{ } \message{I can count!!} \loop \advance\n by1 \message{\number\n} \ifnum\n<101 \repeat \end