[fpc-pascal] Re: fpc-pascal Digest, Vol 71, Issue 69
Jürgen Hestermann
juergen.hestermann at gmx.de
Fri May 28 19:49:57 CEST 2010
> Roger Bailey schrieb:
> OK, I give up. How do you handle standard input and output files in FPC? When I write something like:
> nextcharacter := input^
> I get "error: 1: Illegal qualifier". Does FPC not support this standard Pascal feature?
I have never seen such a syntax before. Shouldn't this be done via READ (and WRITE)? They apply to standard input and output when giving no file name as first parameter. So with
var c : char;
read(c);
should read the next character from standard input I think.
More information about the fpc-pascal
mailing list