Template:Stringlist:Print syntax: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Created by class Wiki)
 
m (1 revision)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- This page was automatically generated and will be automatically
<!-- This page was automatically generated and will be automatically
     replaced, so any manual edits will be lost. You've been warned. -->
     replaced, so any manual edits will be lost. You've been warned. -->
<p class="syntax"><span class="squareb">[</span><span class="term">%count</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[Print (Stringlist function)|Print]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="squareb">[</span><span class="literal">NumWidth=</span><span class="squareb">]</span> <span class="term">numWidth</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="squareb">[</span><span class="literal">LenWidth=</span><span class="squareb">]</span> <span class="term">lenWidth</span><span class="squareb">]</span><span class="comma">,</span>           -
<p class="syntax"><span class="squareb">[</span><span class="term">%count</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:Print</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="Number">NumWidth=</span><span class="squareb">]</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="Number">LenWidth=</span><span class="squareb">]</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="comma">,</span>             -
                    <span class="squareb">[</span><span class="squareb">[</span><span class="literal">Start=</span><span class="squareb">]</span> <span class="term">start</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="squareb">[</span><span class="literal">MaxItems=</span><span class="squareb">]</span> <span class="term">maxItems</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
                      <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="Number">Start=</span><span class="squareb">]</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="Number">MaxItems=</span><span class="squareb">]</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>

Latest revision as of 23:01, 2 February 2011

[%count =] sl:Print[( [[NumWidth=] number], [[LenWidth=] number], - [[Start=] number], [[MaxItems=] number])]