Does FPC use #26 as EOF marker? I use a loop that calls Read until it meets EOF, and right before the loop ends, #26 is met. This happens at least on Windows (other platforms untested).
code: // Please redirect output from a file var c: Char; begin while not EOF do Read(c); end. -- View this message in context: http://www.nabble.com/-26-as-EOF-marker--tp25253788p25253788.html Sent from the Free Pascal - General mailing list archive at Nabble.com. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal