Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!ames!oliveb!epimass!epiwrl!chemo!brian From: brian@chemo.UUCP Newsgroups: comp.sys.ibm.pc Subject: Turbo Pascal file prob Message-ID: <8.352645a231@chemo.uucp> Date: Fri, 19-Jun-87 18:59:33 EDT Article-I.D.: chemo.8.352645a231 Posted: Fri Jun 19 18:59:33 1987 Date-Received: Sun, 21-Jun-87 00:55:26 EDT Organization: Chemical Research Associates Lines: 22 I am having difficulty with turbo pascal file handling. The following always yields a run time error, and I can't figure out why! program junk; var log: text; begin assign(log,'z'); reset(log); append(log); writeln(log,'hi there big guy!'); close(log); end. this seems to open the file 'z' but always hits a run time error with the close(log) line. I wrote another program that wrote to a file, and used the same commands, and it worked fine. Help! epiwrl!chemo!brian or... chemo!brian@wrl.epi.com