nrgyzer:

Sure, I can also use nested functions, but in my opinion it results in dirty and complex code. It's totally overkilled compared to a simple if and goto-instruction.

Often nested functions are less complex, more clean and simpler code compared to using gotos. I suggest to start using nested functions and see how they work out.

Bye,
bearophile

Reply via email to