summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/eplain/base/test/loop.tex
blob: 7f6b7bd4e8957e5587aff93b5e305c07f517f77a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
% This file is public domain.
%
\input eplain

\def\iterate{%
  \let\next\relax
  \body
  \let\next\iterate
  \fi
  \next
}

\count255 = 5
\loop
  loop iteration \number\count255 %\par
  \ifnum\count255<3 \else
    \advance\count255 by -1
\repeat

\bye