Close Access
Close Access
- Subject: Close Access
- From: John McAdams <email@hidden>
- Date: Sun, 27 Jan 2002 03:53:40 -0500
Hi List,
I was just reading through the "read" section of "AppleScript in a
Nutshell." On p.462 Mr Perry suggests using "close access" after
reading. However when I try this (in X, haven't tried it in 9), I get an
error that the file isn't open. Now, all psyched up at the prospect of
finding a bug, I post the observation.
To wit--on p.463 Mr Perry suggests using "read theFile before return"
within a "repeat number_of_file_lines times" statement to "neatly read
the file line by line." My attempts neatly read the entire file
"number_of_file_lines" times. Bug? Or old news?
TIA
jmc