delorie.com/archives/browse.cgi | search |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: fortran scratch files II |
Date: | Fri, 05 Oct 2001 17:06:11 +0200 |
Lines: | 14 |
Message-ID: | <3BBDCC63.40A672F@is.elta.co.il> |
References: | <200110051330 DOT f95DUqQ59236 AT postino4 DOT int DOT prima DOT com DOT ar> |
NNTP-Posting-Host: | 192.116.55.139 |
Mime-Version: | 1.0 |
X-Trace: | fu-berlin.de 1002294343 20060079 192.116.55.139 (16 [61365]) |
X-Mailer: | Mozilla 4.7 [en] (Win98; I) |
X-Accept-Language: | en |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
"Orlando P. Hevia" wrote: > > The following program shows the problem (well, I think it > is not a problem if it can ve avoided easily) > > OPEN (UNIT=52,STATUS='SCRATCH') > CALL SYSTEM('DIR G:\\USR\\TMP\\FORT*') > READ(*,'()') > STOP > END I don't understand: you are supposed to close the file before trying to open unit 52 again. This program doesn't close the file, so it will only be deleted when the program exits. What exactly are you trying to prove?
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |