Path: utzoo!utgpu!attcan!uunet!lll-winken!lll-tis!ames!ll-xn!mit-eddie!uw-beaver!cornell!rochester!pt.cs.cmu.edu!b.gp.cs.cmu.edu!ralf From: ralf@b.gp.cs.cmu.edu (Ralf Brown) 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: <2645@pt.cs.cmu.edu> Date: 8 Aug 88 22:31:22 GMT References: <5126@killer.DALLAS.TX.US> <6247@chinet.chi.il.us> <381@eecea.eece.ksu.edu> Sender: netnews@pt.cs.cmu.edu Organization: Carnegie-Mellon University, CS/RI Lines: 14 In article <381@eecea.eece.ksu.edu> gordon@eecea.UUCP (Dwight W. Gordon) writes: }will need to use all four parameters for the blockread. If you set the block }size to one (RESET(file,1)), you can determine the size of the file to the }character. If all you want to do is determine the file's size, use longfilesize (TP3/4) or filesize (TP4). You want longfilesize in TP3 because filesize returns an integer, and is thus quite limited in the sizes it can report.... TP4's filesize returns a long integer. -- {harvard,uunet,ucbvax}!b.gp.cs.cmu.edu!ralf -=-=- AT&T: (412)268-3053 (school) ARPA: RALF@B.GP.CS.CMU.EDU |"Tolerance means excusing the mistakes others make. FIDO: Ralf Brown at 129/31 | Tact means not noticing them." --Arthur Schnitzler BITnet: RALF%B.GP.CS.CMU.EDU@CMUCCVMA -=-=- DISCLAIMER? I claimed something?