RE: re: reading files
RE: re: reading files
On applemods.com, I wrote a module that does just what you describe. Called readIn, it reads in about 30K at a time. 32K is the limit but I got intermittent memory errors trying to do it at 32K at a time. 30K worked consistently.
G
Original Message:
-----------------
From: Nico Gydi email@hidden
Date: Thu, 07 Feb 2002 19:16:50 +0100
To:
mailto:applescript-users"@lists.apple.com
Subject: re: reading files
after trying all day without result I finally told my script to read smaller
parts of 20kb instead of trying to read ,for example, a 700kb file all at
once.
this seems to solve my memory problem. it looks like there is limit to what
applescript con read in one time. does anyone know this amount?
this way looks strange but doesn't seem to slow down the script too much.
maybe there is a better solution ?
_______________________________________________
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.
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.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.