in reply to Re: Nested while loops
in thread Nested while loops

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re^3: Nested while loops
by fishbot_v2 (Chaplain) on Mar 14, 2006 at 17:43 UTC
    The problem I have is that it occassionally gets stuck in one of the inner while loops (requiring a Ctrol-C from me). I'm not sure why. Anyway, the new approach I am outlining here is an attempt to make the program more robust.

    How about you make your program more robust by finding the bug? I can't imagine what makes you think that adding more while loops will prevent an infinite loop.

    Please don't take code that I've given you, c&p mangle it, then post to ask how to make it work in a new question. It works by not mangling it in the first place.

Re^3: Nested while loops
by planetscape (Chancellor) on Mar 14, 2006 at 17:10 UTC

    Okay... setting aside, for the moment, the definition of Distributed computing, how do you expect adding nested while loops to help you with the problem of becoming stuck inside of one?

    Or... what logical condition(s) are you testing, to enable yourself to exit these multiple whiles?

    planetscape
    A reply falls below the community's threshold of quality. You may see it by logging in.
    A reply falls below the community's threshold of quality. You may see it by logging in.