fix counter example

This commit is contained in:
mohrt
2003-12-22 19:02:06 +00:00
parent 6637ff9ed7
commit c46d385cfe

View File

@@ -3450,19 +3450,17 @@ The value of $name is Bob.</programlisting>
<title>counter</title> <title>counter</title>
<programlisting> <programlisting>
{* initialize the count *} {* initialize the count *}
{counter start=0 skip=2 print=false} {counter start=0 skip=2}&lt;br&gt;
{counter}&lt;br&gt;
{counter}&lt;br&gt; {counter}&lt;br&gt;
{counter}&lt;br&gt; {counter}&lt;br&gt;
{counter}&lt;br&gt; {counter}&lt;br&gt;
OUTPUT: OUTPUT:
0&lt;br&gt;
2&lt;br&gt; 2&lt;br&gt;
4&lt;br&gt; 4&lt;br&gt;
6&lt;br&gt; 6&lt;br&gt;</programlisting>
8&lt;br&gt;</programlisting>
</example> </example>
</sect1> </sect1>
<sect1 id="language.function.cycle"> <sect1 id="language.function.cycle">