home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / hypercar / 4703 < prev    next >
Encoding:
Internet Message Format  |  1993-01-04  |  1.6 KB

  1. Path: sparky!uunet!gatech!usenet.ins.cwru.edu!agate!garnet.berkeley.edu!jstern
  2. From: jstern@garnet.berkeley.edu ()
  3. Newsgroups: comp.sys.mac.hypercard
  4. Subject: Re: Help Deleting Cards
  5. Date: 4 Jan 1993 23:12:13 GMT
  6. Organization: University of California, Berkeley
  7. Lines: 31
  8. Message-ID: <1iag8dINNisr@agate.berkeley.edu>
  9. References: <Bzos95.8BD@cmcl2.nyu.edu> <edandavi.725335817@well.sf.ca.us>
  10. NNTP-Posting-Host: garnet.berkeley.edu
  11.  
  12. In article <edandavi.725335817@well.sf.ca.us> edandavi@well.sf.ca.us (Ed Allen and Avi Rappoport) writes:
  13. >
  14. >With corrupted stacks with a few corrupted cards, the usual answer is to
  15. >move everything else.  Write a script that automates a big loop of copying
  16. >and pasting cards to a new stack, but which skips the bad ones (whose
  17. >numbers you have previously identified).  Start the script, see that it is
  18. >going okay, and take a coffee break while it churns through your stack.
  19. >
  20. Actually, you don't even have to "previously identify" the bad ones.
  21. I've found (at least with the corruptions I've had) that corrupted
  22. cards don't "exist". The following loop works:
  23. repeat with x = 1 to the number of cds
  24.    if there is a cd x then
  25.       go cd x
  26.       domenu "copy card"
  27.       go to stack uncorrupted
  28.       domenu "paste card"
  29.       go to stack corrupted
  30.    end if
  31. end repeat
  32.  
  33. This way you don't have to take the time to even figure out what card(s) is/are
  34. corrupted. (You can add an "else" to the loop, so that it keeps track
  35. of which ones were corrupted, if you need that info.)
  36.  
  37. Judy Stern
  38. Instructional Technology Program
  39. UC Berkeley
  40. jstern@garnet.berkeley.edu
  41.  
  42.  
  43.