Xref: utzoo comp.lang.pascal:4795 comp.os.msdos.programmer:2288 Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!usc!samsung!umich!sharkey!bnlux0!kushmer From: kushmer@bnlux0.bnl.gov (christopher kushmerick) Newsgroups: comp.lang.pascal,comp.os.msdos.programmer Subject: Statusof a msdos file after dos error Message-ID: <2350@bnlux0.bnl.gov> Date: 6 Dec 90 01:29:06 GMT Organization: Brookhaven National Lab Lines: 23 After a file has been opened (Via assign, reset/rewrite) what is its status following a disk operation that results in dos reporting an io error? Here is the exact situation: turbo pascal 5.0 I open a file. the reset/rewite occurs with success. Now I do an operation, and it fails, perhas, for example, because the user took the diskette out of the drive. What is the status of the file? Do I have to close it? Can I close it? should I close it? It should be obvious that I am compiling this with {$I-} set so that I may process my own io errors. -- Chris Kushmerick kushmer@bnlux0.bnl.gov <===Try this one first kushmerick@pofvax.sunysb.edu