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
> >
> > <[EMAIL PROTECTED]> 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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to