Difference between revisions of "Command/dorecurse"

From Wiki
Jump to navigation Jump to search
(Create dorecurse page)
 
m (Comment out line endings, they break stuff)
Line 7: Line 7:
 
<table cellspacing="4" cellpadding="2" class="cmd">
 
<table cellspacing="4" cellpadding="2" class="cmd">
 
   <tr>
 
   <tr>
     <td colspan="2" class="cmd">\dorecurse
+
     <td colspan="2" class="cmd">\dorecurse<!--
      <span class="first" >{''n''}</span>
+
  --><span class="first" >{''n''}</span><!--
      <span class="second" >{''commands''}</span>
+
  --><span class="second" >{''commands''}</span><!--
    </td>
+
--></td>
 
   </tr>
 
   </tr>
 
   <tr valign="top" class="first">
 
   <tr valign="top" class="first">

Revision as of 13:38, 25 May 2012

\dorecurse

Syntax

\dorecurse{n}{commands}
{n} The number of times to repeat the commands
{commands} Commands or text to repeat


Description

Repeat a command a number of times.

Example

\dorecurse{3}{Meow...\ }

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: