<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 1 April 2013 19:13, Dleaner <span dir="ltr"><<a href="mailto:bm.email01@gmail.com" target="_blank">bm.email01@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I was using writef("escape string" ~ "Display string") to try to simulate a console, but noticed that the writes are only flushed when a newline is present.<br>
<br>
Is there a 'flush' function that works with stdio?<br>
'flush()' seems unkown to the compiler, and 'fflush()' seems to be for files, not for writing to the screen.<br>
</blockquote></div><br><br></div><div class="gmail_extra">You mean stdout.flush() ?<br clear="all"></div><div class="gmail_extra"><br>-- <br>Iain Buclaw<br><br>*(p < e ? p++ : p) = (c & 0x0f) + '0';
</div></div>