Re: Reading large files
Re: Reading large files
- Subject: Re: Reading large files
- From: "Arthur J Knapp" <email@hidden>
- Date: Thu, 22 Feb 2001 14:27:06 -0500
>
Date: Thu, 22 Feb 2001 14:49:32 +0100
>
From: "Daniel Komrska jr." <email@hidden>
>
Subject: Reading large files
>
I would like to read 184 K text file. I raised up memory of Script
>
Debugger, but he still returns this: "Finder got an error: Out of memory".
I don't think that the Finder is involved in AppleScript file reading,
so the error is a little confusing.
I'm afraid we need more information. 184 k is not a lot of memory.
Perhaps you could send a small snippit of code showing what you are
trying to do.
Here is some basic syntax for reading an entire file:
set aFile to (choose file)
set fileContent to (read aFile)
--
{
Arthur J Knapp, of STELLARViSIONs ;
http://www.STELLARViSIONs.com ;
mailto:email@hidden ;
"...it's not my birthday,
it's not today..."
}