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.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal