Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!ucsd!ucrmath!ucrmath.ucr.edu!pdm From: pdm@ucrmath.ucr.edu (paul moore) Newsgroups: comp.lang.pascal Subject: Problem with TP 5.5 Reset Message-ID: <8096@ucrmath.ucr.edu> Date: 9 Aug 90 20:01:44 GMT Sender: pdm@ucrmath.ucr.edu Organization: University of California, Riverside Lines: 26 I've been having a problem using the Reset function to determine if a file exists, and was wondering if anybody has seen anything similar. The code is basically: var F : file of MyOwn_type; [...] assign( F, Fname ); {$I-} reset( F ); {$I+} The program produces a runtime 002 error (file not found) and dumps me out to DOS. This unit is part of a much larger program, and other units in the program behave properly when performing the same operation. Any thoughts? paul