Free Pascal - General
only in this topic
Open this post in threaded view
While modifying some older programs, I found a strange effect with eof
(input). When calling eof(input), the program needs an <enter> key to
continue. I just downloaded 2.0.2, with the same result.
The definition of eof (according to the FPC docs) is that it immediately
returns... which is what I need. Can anyone suggest a solution for this?
if eof then
writeln('No EOF found');
This sample program doesn't return till <enter> is pressed.
Note: first send to the list didn't get published...
fpc-pascal maillist -
Return to Free Pascal - General
1 view|%1 views
Free forum by Nabble
Edit this page