In your pseudocode just exchange goto through break, that's it.
Longer answer: break will break from the current for/while/switch statement, regardless if it is embedded itself in an other non-loop/switch statement, like an if-statement.
Show differencesHistory of post edits
#2Ashaman73
Posted 04 October 2012 - 03:37 AM
In your pseudocode just exchange goto through break, that's it.
Longer answer: break will break from the current for/while/switch statement, regardless if it is embedded in an if-statement.
Longer answer: break will break from the current for/while/switch statement, regardless if it is embedded in an if-statement.
#1Ashaman73
Posted 04 October 2012 - 03:34 AM
In your pseudocode just exchange goto through break, that's it.