Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!uwm.edu!ux1.cso.uiuc.edu!uxa.cso.uiuc.edu!dslg0849 From: dslg0849@uxa.cso.uiuc.edu (Daniel S. Lewart) Newsgroups: comp.lang.pascal Subject: Re: Blockread/write problem Message-ID: <1990Aug29.123053.17412@ux1.cso.uiuc.edu> Date: 29 Aug 90 12:30:53 GMT References: <24316@adm.BRL.MIL> Sender: usenet@ux1.cso.uiuc.edu (News) Organization: University of Illinois at Urbana Lines: 23 S89405079%HSEPM1.HSE.NL@vm1.nodak.edu writes: >1. When I run this program, I don't get the whole file copied (I miss several > bytes). > > FILE.1 TEMP missing bytes: > 7056 7040 16 > 6899 6784 115 > 6296 6272 24 > 3040 2944 96 > > Does anybody have the solution for this *irritating* problem <> Notice that all the TEMP sizes are multiples of 128, the default record size. Try reset(fil1,1) instead. >2. When I reset a read-only file, why does TurboPascal then say that it is > impossible to open the file<> My guess is that this is an 'undocumented feature' (aka bug). Daniel Lewart d-lewart@uiuc.edu