<div dir="ltr">On Tue, Sep 2, 2008 at 1:37 PM, Chris R. Miller <span dir="ltr">&lt;<a href="mailto:lordSaurontheGreat@gmail.com">lordSaurontheGreat@gmail.com</a>&gt;</span> wrote:<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;">
<div><div></div><div class="Wj3C7c">Brendan wrote:<br>
&gt; Jarrett Billingsley Wrote:<br>
&gt;<br>
&gt;<br>
&gt;&gt; &lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;If you&#39;re expecting it to pause after each character.. you&#39;re missing braces around the body of the for loop, this isn&#39;t Python ;)&lt;br&gt;&lt;/div&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt; Oooooh, what a foolish mistake! How could I forget that? Thanks for pointing it out.<br>
&gt;<br>
&gt; But the result isn&#39;t fruitful, though. When I run it, all I get is an empty screen, then after many seconds the whole string is displayed at once (not to mention I set the sleep time to 0.1 seconds). I&#39;m probably missing something. Any idea?<br>

<br>
</div></div>Flush the output?<br>
<br>
</blockquote></div><br>Totally.&nbsp; <br><br>foreach(ch; s) { write(ch); fflush(stdout); system(&quot;pause 0.2&quot;); }<br></div>