home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.mac.hypercard:3180 comp.sys.mac.programmer:14308
- Newsgroups: comp.sys.mac.hypercard,comp.sys.mac.programmer
- Path: sparky!uunet!munnari.oz.au!manuel!sserve!rodos1!wkt
- From: wkt@rodos1.cs.adfa.oz.au (Warren Toomey)
- Subject: Reports in HyperCard 2.1 -- Help wanted
- Message-ID: <1992Aug21.064822.12198@sserve.cc.adfa.oz.au>
- Sender: news@sserve.cc.adfa.oz.au
- Organization: Australian Defence Force Academy, Canberra, Australia
- Date: Fri, 21 Aug 1992 06:48:22 GMT
- Lines: 54
-
-
- I am including a HyperCard question from a friend here who does not have
- Internet access. He'd very much appreciate any help he can get. Replies
- to me via email (wkt@csadfa.cs.adfa.oz.au). I know nothing about HyperCard.
-
- Warren Toomey
- ----------
-
- I have a slightly complicated problem with HyperCard 2.1 reports.
- It goes like this:
-
- a. A long list of text lines is stored in several fields
- (ie. > 30000 chars - hence > 1 field).
-
- b. There are two separate entities associated with each of
- these text lines.
-
- c. I want to put all of the text into a report field and keep
- the related entities on corresponding lines of two other
- fields (each line of the text may take more than one line
- on the report field).
-
- So far I have tried putting the text lines into a single variable but
- lose at least half of it (always at the same point) - is this a
- limit on the variable or a memory problem?
-
- I have also tried putting each separate card field into a separate
- variable and concatenating them when I return from the user-defined
- function - but same problem arises.
-
- To try to line up the entries on corresponding lines, I use a
- mono-spaced font like Courier and try to match the width of the
- field (by counting characters in full lines) - but not really successfully.
- Is there a way of finding out what the field width is, or of predicting
- (accurately) how many physical lines in the report field each of the
- text lines will take up? I have tried to emulate the word-wrap routine
- but cannot get it quite right - futhermore it takes an absolute AGE...
- (ie. up 7.5 hours on a Classic for 435 text lines etc).
-
- Is there anyone out there who knows of a PD, shareware or commercial
- product which will allow me to handle this type of report in a
- reasonably simple and efficient way. I have heard of "Reports"
- (by Q&A Software?) but dont know anyone who has it or has used it.
- Since I do not fancy the idea of paying for a product which may not
- come close to what I want, I would appreciate any information
- or suggestions which you may be able to give me.
-
- Andy Haddock.
- ------
-
-
- Warren Toomey VK1XWT, on the path to insanity
- No longer in the bowels of ADFA Comp Science.
- `Version 7 Job Control: just use ptrace(2).'
-