• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Reading and Writing to text files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading and Writing to text files


  • Subject: Re: Reading and Writing to text files
  • From: Nigel Garvey <email@hidden>
  • Date: Sat, 6 Jan 2001 03:07:26 +0000

Victor Yee wrote on Fri, 5 Jan 2001 15:16:14 -0500:

>The results indicate that writing and closing by file specification works
>fine.
>(And it took so long to compose my erroneous letter, too ;-)
>
>Which makes me wonder why Jason was getting that "File not open with write
>permission" error. Jason, did you ever solve your problem?

By my theory, the file was also open for read-only access and the write
by file specification command was picking up that access ID instead of
the one that was open with write permission. If, by some accident, a file
has been left open and you don't have the access ID, you can shut it by
file specification - or reboot the computer, of course.

repeat 20 times
close file myPath
end repeat

(You can close an already shut file without getting an error.)

NG


  • Prev by Date: Re: [OE]Which Incoming Message triggered Rule
  • Next by Date: Re: Droplet Misbehaviour
  • Previous by thread: Re: Reading and Writing to text files
  • Next by thread: Maximums?
  • Index(es):
    • Date
    • Thread