I'm rewriting some legacy code and came across this:
DO 4 I=1,N
...
DO 4 J=1,N
...
4 CONTINUE
There appears to be only one CONTINUE
for these two loops. Is it equivalent to this Java code?
for (int i=0; i<n; i++) {
...
for (int j=0; j<n; j++) {
...
}
}