<div><font face="verdana,sans-serif">i´ve always used </font></div><div><font face="verdana,sans-serif">c := ReadKey;<br clear="all"></font><font face="verdana, sans-serif">________________________________<br>William de Oliveira Ferreira<br>

Bacharel em Sistemas de Informação</font><br>
<br><br></div><div class="gmail_quote">2011/11/18 Henry Vermaak <span dir="ltr"><<a href="mailto:henry.vermaak@gmail.com">henry.vermaak@gmail.com</a>></span><br><blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" class="gmail_quote">

<div class="im">On 18/11/11 16:18, Chris Kirkpatrick wrote:<br>
<blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" class="gmail_quote">
It really needs get(c) but this function, together with put(c), which<br>
were defined in Jensen & Wirth and all standard Pascals, has long been<br>
missing from Turbo Pascal, and all its deriviatives such as Freepascal.<br>
</blockquote>
<br></div>
How does get(c) differ from read(c)?  The problem here is with the terminal buffering the characters until return is pressed, hence the need for re-configuring the terminal so that each key press is sent immediately.<span class="HOEnZb"><font color="#888888"><br>


<br>
Henry</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
--<br>
______________________________<u></u>_________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org" target="_blank">Lazarus@lists.lazarus.<u></u>freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.<u></u>freepascal.org/mailman/<u></u>listinfo/lazarus</a><br>
</div></div></blockquote></div><br>