<div dir="ltr">Stephen;<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Because &quot;count&quot; is only initialized to 10 once, even though it&#39;s done<br>

inside the loop. &nbsp;Because of &quot;static&quot;, the initialization assignment<br>
is only executed once, at the time of allocation.<br>
<br>
</blockquote><div><br>I agree fully and this is roughly what I meant to say.<br></div></div><br>Yours,<br>Kas.<br></div>