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