Dear list,

I have the following sample code:

  \starttext
  \startTEXpage[offset=1dk]
  \dostepwiserecurse{2}{6}{1}{\edef\AbC{\recurselevel}%
  \dostepwiserecurse{2}{7}{1}{%\AbC.\recurselevel\ /\
  \ifnum\AbC < \recurselevel%
  \AbC:\recurselevel\ \|\|
  \fi}
  \\}
  \stopTEXpage
  \stoptext

I would like to only get the numbers in the form first:second loops if
and only if the value of the first loop is less than the value from the
second loop.

I think this should be simple, but I don’t get it with any of these
conditionals:

   \ifnum\AbC < \recurselevel

   \ifnum\recurselevel > \AbC

Sorry for the stupid question, but what I am missing here?

Many thanks for your help,

Pablo
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to