home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / mac / hypercar / 4595 < prev    next >
Encoding:
Text File  |  1992-12-16  |  1.4 KB  |  33 lines

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