in reply to Problem with multiple loops
I fully agree with davorg on the indentation tip.
Secondly, you didn't say how you're calling the program. I've tried to guess what your arguments are, but it "works" (comes back to the command-line) for me every time.
A simple way to debug is to sprinkle print statements throughout, and see which ones get executed and which ones don't. I always use something like:
to tell me I got to a certain line. The "TFD>" stands for "temporary for debug"; so I can take all the debug lines out later.print "TFD> [1] Got here\n";
Hopefully that gives you a good start in finding your problem.
If not, please give us more specific information about what your command line looks like, and what your input files look like.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Problem with multiple loops
by chinamox (Scribe) on Oct 24, 2006 at 13:29 UTC |