home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.hypercard
- Path: sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!caen!hellgate.utah.edu!fcom.cc.utah.edu!u.cc.utah.edu!tomj
- From: tomj@u.cc.utah.edu (Tom Johnson (Iomega))
- Subject: Re: Can I Find Card Number Within a Background?
- Message-ID: <1992Dec16.171133.28434@fcom.cc.utah.edu>
- Sender: Tom Johnson
- Organization: University of Utah Computer Center Student Mail Machine
- References: <1992Dec15.182249.9966@macc.wisc.edu>
- Date: Wed, 16 Dec 92 17:11:33 GMT
- Lines: 21
-
- In article <18055@bcars664.bnr.ca>, wheeler@bcarh744.bnr.ca (Cheryl Wheeler) writes...
-
- >I have a stack with 3 backgrounds. The cards of one of the backgrounds are
- >sorted in a way that is useful most of the time. However, in one instance,
- >they aren't (and I'd prefer not to re-sort, if possible). In this case, the
- >cards are sorted into alternating groups of interesting and uninteresting
- >cards. I'd like to loop through the first interesting group using
- >card x of bg "My Background", then find the first card of the next interesting
- >group, and loop through that group. But the problem is that I can't seem to
- >find out the number of a particular card within its background. Is there a way,
- >or am I forced to do something different?
- >
-
- A simple way to determine the number of a card within its background is:
-
- put number of this cd - number of first cd of this bg + 1 into foo
-
- Hope this helps,
-
- Tom Johnson
- tomj@iomega.com
-