I think the example you give is a fine way to handle it.
Actually allowing a called subroutine to force its caller to return could make for some pretty unmaintable code. Needing that would probably indicate an opportunity to improve the design.
Other than for deliberate obfuscation, I can't think of one good reason why someone would want such a thing. Can you provide one?
-sauoq "My two cents aren't worth a dime.";
In reply to Re: Double your return!!!!
by sauoq
in thread Double your return!!!!
by bsb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |