home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / pascal / 7436 < prev    next >
Encoding:
Text File  |  1992-12-13  |  1.1 KB  |  34 lines

  1. Newsgroups: comp.lang.pascal
  2. Path: sparky!uunet!mcsun!news.funet.fi!uwasa.fi!ts
  3. From: ts@uwasa.fi (Timo Salmi)
  4. Subject: Re: TP's reset on read-only files
  5. Message-ID: <1992Dec14.022920.4467@uwasa.fi>
  6. Organization: University of Vaasa, Finland
  7. References: <1992Dec12.214246.50@newton.hartwick.edu>
  8. Date: Mon, 14 Dec 1992 02:29:20 GMT
  9. Lines: 23
  10.  
  11. In article <1992Dec12.214246.50@newton.hartwick.edu> wisanr@newton.hartwick.edu writes:
  12. >I've been astonished to discover that TP's reset procedure can't open a
  13. >read-only file ex@|cept as a text file.  This appears to be true of
  14.  
  15. Sorry.  This claim just is not true.
  16.  
  17. >The only work-around I've found is to change the attribute, open and
  18. >read the file, close it, and put it back to read-only.  I don't like it because
  19.  
  20. Not necessary.
  21.  
  22. >Now, what?
  23.  
  24. Simple:
  25. FileMode := 0;
  26.  
  27.    All the best, Timo
  28.  
  29. ..................................................................
  30. Prof. Timo Salmi
  31. Moderating at garbo.uwasa.fi anonymous FTP archives 128.214.87.1
  32. Faculty of Accounting & Industrial Management; University of Vaasa
  33. Internet: ts@uwasa.fi Bitnet: salmi@finfun   ; SF-65101, Finland
  34.