Command/recursedepth

From ConTeXt wiki
< Command
Revision as of 16:30, 11 November 2019 by Usonianhorizon (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

\recursedepth

Syntax (autogenerated)


Syntax

\recursedepth

Description

The nesting depth in the case of nested \dorecurse, \dostepwiserecurse, and \doloop.

Example

\dorecurse{2}{
    \recursedepth.\recurselevel:\crlf
    ---\dorecurse{3}
        {\recursedepth.\recurselevel\ }
    \crlf
    ---\doloop
       {\recursedepth.\recurselevel\ 
        \ifnum \recurselevel=2 \exitloop \fi}
    \crlf
}

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: