Re: Calculations in a loop
- From: amelia jane <ameliajane42@xxxxxxxxx>
- Date: Wed, 19 May 2010 15:56:55 -0700 (PDT)
On May 19, 1:01 pm, Patricia Shanahan <p...@xxxxxxx> wrote:
stan wrote:
...
I agree with the others as to possible causes, but I might add
that this may be a perfect time to learn to step through code in a
debugger. You might discover the problem with your code and you will
certainly learn a skill which can be very handy. It won't be time
wasted. Debuggers are not a silver bullet, they can't solve every
problem all the time. But when you fine yourself stumped you can never
have too many tools available.
Good advice. The OP needs to be particularly careful to debug a version
that actually fails, not a similar program that works.
Patricia
It was a real dumb problem. The variable in the loop was incremented
elsewhere making the loop to end prematurely. My bad...
.
- Follow-Ups:
- Re: Calculations in a loop
- From: Dann Corbit
- Re: Calculations in a loop
- References:
- Calculations in a loop
- From: amelia jane
- Re: Calculations in a loop
- From: pete
- Re: Calculations in a loop
- From: amelia jane
- Re: Calculations in a loop
- From: Patricia Shanahan
- Re: Calculations in a loop
- From: stan
- Re: Calculations in a loop
- From: Patricia Shanahan
- Calculations in a loop
- Prev by Date: Re: quick way to delete files
- Next by Date: Re: Calculations in a loop
- Previous by thread: Re: Calculations in a loop
- Next by thread: Re: Calculations in a loop
- Index(es):
Relevant Pages
|