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;
read(c);

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
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

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 http://wiki.freepascal.org/FPC_New_Features_2.6.0#Basic_ISO_Standard_Pascal_support

Regards,
Sven


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to