home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.pascal
- Path: sparky!uunet!mcsun!news.funet.fi!uwasa.fi!ts
- From: ts@uwasa.fi (Timo Salmi)
- Subject: Re: TP's reset on read-only files
- Message-ID: <1992Dec14.022920.4467@uwasa.fi>
- Organization: University of Vaasa, Finland
- References: <1992Dec12.214246.50@newton.hartwick.edu>
- Date: Mon, 14 Dec 1992 02:29:20 GMT
- Lines: 23
-
- In article <1992Dec12.214246.50@newton.hartwick.edu> wisanr@newton.hartwick.edu writes:
- >I've been astonished to discover that TP's reset procedure can't open a
- >read-only file ex@|cept as a text file. This appears to be true of
-
- Sorry. This claim just is not true.
-
- >The only work-around I've found is to change the attribute, open and
- >read the file, close it, and put it back to read-only. I don't like it because
-
- Not necessary.
-
- >Now, what?
-
- Simple:
- FileMode := 0;
-
- All the best, Timo
-
- ..................................................................
- Prof. Timo Salmi
- Moderating at garbo.uwasa.fi anonymous FTP archives 128.214.87.1
- Faculty of Accounting & Industrial Management; University of Vaasa
- Internet: ts@uwasa.fi Bitnet: salmi@finfun ; SF-65101, Finland
-