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

Re: reading a file >32Kb


  • Subject: Re: reading a file >32Kb
  • From: James Burns <email@hidden>
  • Date: Thu, 13 Mar 2003 19:04:02 -0500

On Thursday, March 13, 2003, at 06:19 PM, Larry McMunn wrote:

Hello James Burns:

You should be able to check for your string in your variable. I work with large variables in Applescript everyday. In earlier versions of AS, I couldn't check containing a string in a string over 32k. Interestingly, I could get the offset of the desired string in the target. If that did not error or return 0, then the target contained the desired string. Somewhere along the way, AS changed and you can now check for a string in a large variable.

Yep, but I said 32Mb, not K.


To make sure that I wasn't mistaken with my comments above, I just created a rather large text file with the following specs:
-- BBEdit says number of lines: 244,831
-- BBEdit says number of characters: 23,182,730
-- Finder says size is: 22.1MB (23,184,440 bytes)

Yeah, but again, that's under 32Mb



{stuff deleted}

-----
James Burns
http://www.jamesburnsdesign.com
_______________________________________________
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.

  • Follow-Ups:
    • Re: reading a file >32Kb
      • From: Emmanuel <email@hidden>
    • Re: reading a file >32Kb -- no 32MB!!!
      • From: Helmut Fuchs <email@hidden>
References: 
 >Re: reading a file >32Kb (From: Larry McMunn <email@hidden>)

  • Prev by Date: Mail version of sigfromitunes
  • Next by Date: Re: Illustrator Newbie question 2
  • Previous by thread: Re: reading a file >32Kb
  • Next by thread: Re: reading a file >32Kb -- no 32MB!!!
  • Index(es):
    • Date
    • Thread