home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / database / 8015 < prev    next >
Encoding:
Internet Message Format  |  1992-11-21  |  1.1 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ucselx!snafu!optigfx!crash!nosc!news!humu!pegasus!tleylan
  2. From: tleylan@pegasus.com (Tom Leylan)
  3. Newsgroups: comp.databases
  4. Subject: Re: Clipper 5.01 array problem
  5. Message-ID: <1992Nov21.081214.1037@pegasus.com>
  6. Date: 21 Nov 92 08:12:14 GMT
  7. References: <1992Nov17.102200.12123@fwi.uva.nl>
  8. Organization: Pegasus,  Honolulu
  9. Lines: 18
  10.  
  11. timmer@fwi.uva.nl (Ralf Timmer (I89)) writes:
  12.  
  13. >To manage this I use Straleys :
  14.  
  15. >But, if I place the above IF..GET..ENDIF in a FOR..NEXT loop, with
  16. >the index of aExtra is the same as the loop counter it doesn't work
  17. >anymore!?
  18.  
  19. Ralf...  I'm not a major fan of Straley and usually suggest that people
  20. ignore his stuff so I'd rework it without his #xtranslate...
  21.  
  22. On the other hand the reason you have a problem in that fragment is that
  23. by the time the EVAL()'s are taking place you have incremented your
  24. counter variable beyond the length of the array.  In other words you
  25. can't do it that way.  You were hoping that the value of the counter
  26. got "transferred" somehow but it doesn't.
  27.  
  28. tom
  29.