[Lazarus] read single char from STDIN
pascaldragon at googlemail.com
Fri Nov 18 17:25:29 CET 2011
Am 18.11.2011 17:18, schrieb Chris Kirkpatrick:
> On 18/11/11 13:06, Martin wrote:
>> Not done any console apps in a long time.
>> If I do:
>> var c: char;
>> It will read individual files, but only after I pressed enter on my
>> terminal. What is needed to read the char immediately?
>> Lazarus mailing list
>> Lazarus at lists.lazarus.freepascal.org
> 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.
FPC is starting to get ISO Pascal support, so they might get implemented
sooner or later. See also
More information about the Lazarus