• 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
reading a file >32Kb
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

reading a file >32Kb


  • Subject: reading a file >32Kb
  • From: David Crowe <email@hidden>
  • Date: Thu, 13 Mar 2003 15:47:30 -0700

I don't know about reading a file >32 kb into a single variable, but I recently found that I simply couldn't read a file greater than about 80k. I was reading it 500 bytes at a time, and it still would give me eof after approx. 80k (I forget the exact number, but it was a multiple of 512).

I was also searching it, but since my string was less than my block size, I knew that the string must be in the last two blocks read, which means that I didn't really need to keep more than two blocks of data during my scan.



- David Crowe
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Code for a circle
  • Next by Date: Re: scripting mail to select mailboxes
  • Previous by thread: Re: reading a file >32Kb
  • Next by thread: Re: reading a file >32Kb
  • Index(es):
    • Date
    • Thread