[fpc-pascal] #26 as EOF marker?
Michael Van Canneyt
michael at freepascal.org
Wed Sep 2 11:00:28 CEST 2009
The behaviour for each platform is described by the
It is documented :-)
> Wed, 2 Sep 2009, leledumbo wrote:
> 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).
> // Please redirect input from a file
> c: Char;
> while not EOF do begin
> 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 at lists.freepascal.org
More information about the fpc-pascal