• 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
Close Access
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Close Access
      • From: Timothy Bates <email@hidden>
    • Re: Close Access
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: GC Scale
  • Next by Date: Re: Problems with speed & issues with coercion in OS 9.2.2
  • Previous by thread: Re: GC Scale
  • Next by thread: Re: Close Access
  • Index(es):
    • Date
    • Thread