goto doesn't seem to exist for Java
Originally posted by Paul Sturrock:
perhaps someone can offer a better solution to procedural execution.
When you use break or continue in a loop, you can give it a label. This is necessary when you need to break/continue an outer loop rather than the inner loop. I think I've only ever done this once when I was learning Java, but IIRC the syntax is like this:Obviously you don't need the "inner" label here; it's just an example.
Originally posted by akaii akaii:
Looping seems to be a difficult option, since jumps overlap within each other, and aren't self-contained.
Well, actually "jumping around in the code" isn't even procedural...