How do I make a line of code that would go back to a part of a program without making it a loop?
Code I don't want repeated
some line for later to come back (line 2)
$$$code I want to repeat$$$
jump back to line 2
My two cents - a goto should only be used as an escape. In some rare cases when you have code that has several levels of nesting and whenever an error occurs you want to just bail out, (I think) it is acceptable to use a goto to drop out … Read More
Edited by rproffitt
Edited by AssertNull
Are you able to help answer this sponsored question?
Either the question asker or someone else made a financial contribution in order to feature this question and encourage quality replies.