Path: utzoo!attcan!uunet!husc6!uwvax!oddjob!uxc!ksuvax1!eecea!gordon From: gordon@eecea.eece.ksu.edu (Dwight Gordon) Newsgroups: comp.lang.pascal Subject: Re: EOF in TP4? Keywords: The EOF function in TP3/4 is designed for use with text files. Turbo Pascal Message-ID: <381@eecea.eece.ksu.edu> Date: 8 Aug 88 15:24:15 GMT References: <5126@killer.DALLAS.TX.US> <6247@chinet.chi.il.us> Reply-To: gordon@eecea.UUCP (Dwight W. Gordon) Organization: Kansas State University, Manhattan, KS USA Lines: 10 has always (?) had some difficulties with determining the end of file. If TP sees an eof ($1a) in the text input stream, EOF becomes true. As for speed and freedom from the text file restriction, try blockread and blockwrite. End of file on a blockread comes about when you attempt to read "n" blocks and you only read "i" blocks (i