• 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
read from file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: read from file
      • From: John Delacour <email@hidden>
    • Re: read from file
      • From: Andy Wylie <email@hidden>
  • Prev by Date: Was: "+" and "-" are numbers. IS: URL parsing
  • Next by Date: How do I escape a question mark (?)
  • Previous by thread: Re: Was: "+" and "-" are numbers. IS: URL parsing
  • Next by thread: Re: read from file
  • Index(es):
    • Date
    • Thread