Re: Breaking out of recursion?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



"Andrew Morton" <akm@xxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:uo3RxlpYIHA.3400@xxxxxxxxxxxxxxxxxxxxxxx
I'm recursing through the controls in an asp.net page to find if any
TextBox contains text.

JOOI, can I break out of the recursion as soon as it's found one, or does
it have to unwind itself?

Yes, it needs to 'unwind' itself. This is no big deal as it's likely to only
be 2 or 3 levels at most.

Michael


.



Relevant Pages

  • Re: Core dump with ld error
    ... the program seems to crash when the function is ... > being unwind from the stack. ... In order to understand recursion you must first understand recursion. ...
    (comp.unix.solaris)
  • Re: Increasing the stack?
    ... >> case for the recursion to cease and start to unwind. ... > void hellos() { ...
    (comp.lang.java.help)