11 Dec
2008
11 Dec
'08
2:40 p.m.
On Thursday 11 December 2008 07:17:51 am Hans Hagen wrote:
Zhichu Chen wrote:
Hi Bart
On Thu, Dec 11, 2008 at 9:50 PM, Bart C. Wise
wrote: When I run the code below (via minimals), I get the following error, why?
enter loop
! Extra \else.
\@@plniterate ...\expandafter \@@plniterate \else
\fi
\myloop ...by 1 \ifnum \tempcnta >#1\else \repeat
I think the loop structure should be: \loop ... \if... ... \repeat
just use:
\doloop {
\ifwhateveryoulike \exitloop \fi
Hans, Thanks, that works. But shouldn't the other one work as well? Is there something wrong with the syntax? Bart