home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / mac / hypercar / 4225 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.3 KB  |  34 lines

  1. Newsgroups: comp.sys.mac.hypercard
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!agate!apple!mumbo.apple.com!gallant.apple.com!kip2-56.apple.com!user
  3. From: jpugh@apple.com (Jon Pugh)
  4. Subject: Re: Importing/accessing text files
  5. Sender: news@gallant.apple.com
  6. Message-ID: <jpugh-171192212010@kip2-56.apple.com>
  7. Date: Wed, 18 Nov 1992 05:25:32 GMT
  8. References: <1992Nov16.155906.8559@jhunix.hcf.jhu.edu>
  9. Organization: Apple Computer, Inc.
  10. Followup-To: comp.sys.mac.hypercard
  11. Lines: 21
  12.  
  13. In article <1992Nov16.155906.8559@jhunix.hcf.jhu.edu>,
  14. crawford@jhunix.hcf.jhu.edu (James E Crawford) wrote:
  15. > I am looking for a way to have HyperCard access text files between 100k and
  16. > 300k in size. As I understand it, there is a 30k limit to the amount of text
  17. > which can be put into a field. Is there any way around this? or is there any
  18. > way to have HyperCard open the text file?
  19.  
  20. You can munge the text file, but you can't put it into a field.  You'll
  21. have to put the text into a number of fields.   In 2.1 the file commands
  22. have been extended so you can say things like:
  23.  
  24.   read from file <name> until eof
  25.  
  26. and read the entire file into the variable "it".  This is the fastest way
  27. to read the file into memory.  After that you can munge the file to your
  28. heart's content.
  29.  
  30. I'll leave the field manipulation to you.  The 30K limit basically sucks.
  31.  
  32. Jon
  33.