EOF file error, Is there a character limit?
EOF file error, Is there a character limit?
- Subject: EOF file error, Is there a character limit?
- From: Dave Fugiel <email@hidden>
- Date: Tue, 07 Aug 2001 11:04:00 -0500
I have a text file with one really long string
and when I try and read the string
I get : "Finder got an error: End of file error."
No matter what I do I get that error. Is there a limit
to the length a string can be?
Thanks for you expertise
Dave
Here's part of my script:
set filepath to ((path to startup disk) as string) & VSFileName
set file_reference to open for access file VSFileName
set eof_position to get eof file_reference
set VSString to file_reference
set VSString to read file_reference as string using delimiter {"*"}
-- * is always the last character in my string.
close access file_reference