Delay function?

Chris R. Miller lordSaurontheGreat at gmail.com
Tue Sep 2 10:37:35 PDT 2008


Brendan wrote:
> Jarrett Billingsley Wrote:
> 
> 
>> </blockquote></div><br>If you're expecting it to pause after each character.. you're missing braces around the body of the for loop, this isn't Python ;)<br></div>
>>
> 
> Oooooh, what a foolish mistake! How could I forget that? Thanks for pointing it out.
> 
> But the result isn'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'm probably missing something. Any idea?

Flush the output?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20080902/f70abfc6/attachment.pgp>


More information about the Digitalmars-d-learn mailing list