returning back to loop check condition without completing the loop
If the code starts looking too bad, you could always call subroutines from
either branch of your if/then/else statement. And do all the detail work there.
ashish128 wrote:
<<snipped
Dear Dave,
To be true, I didn't use "nested if" because I was preferring a clean
solution as otherwise it would cause me to have (many if and) deep
look into my code for any alteration if I break the loop at many
points.
Second truth, It didnt came to my mind :)
I am applying Rick's suggestion to get the code work as intended.
Thanks for your guidance (If it had not been you pointing to Rick's
Post I would have never come to know about it)
Regards
--
Dave Peterson
|