[Lazarus] read single char from STDIN
William Oliveira Ferreira
bdexterholland at gmail.com
Fri Nov 18 17:48:18 CET 2011
i´ve always used
c := ReadKey;
William de Oliveira Ferreira
Bacharel em Sistemas de Informação
2011/11/18 Henry Vermaak <henry.vermaak at gmail.com>
> On 18/11/11 16:18, Chris Kirkpatrick wrote:
>> It really needs get(c) but this function, together with put(c), which
>> were defined in Jensen & Wirth and all standard Pascals, has long been
>> missing from Turbo Pascal, and all its deriviatives such as Freepascal.
> 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.
> Lazarus mailing list
> Lazarus at lists.lazarus.**freepascal.org<Lazarus at lists.lazarus.freepascal.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Lazarus