read from file
read from file
- Subject: read from file
- From: email@hidden
- Date: Sun, 4 Aug 2002 21:54:40 -0500
Hello Scripters,
I have been using HyperCard's file scripting to read and write to files.
Everything works fine until I try to load a large file into a variable.
Then I get an "out of memory" error.
When I try:
Read from file "myFile" until return
everything is OK until the last paragraph of the file when there is no
return so consequently everything stops.
I understand that AppleScript's "read" doesn't require an "open for
access"; but I must not have the format correct.
I not only need to be able to read a paragraph at a time but also
simultaneously to watch for EOF.
Thanks,
Patrick
email@hidden
_______________________________________________
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.