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