Re: dumb question #1 re: DO loops



You have it right. In current Fortran, an exit from the loop would be:
IF(ID(J).LT.0) EXIT

If you haven't done so, get a copy or download one of a language manual
on Fortran. Such things are explained nicely there.

In a Fortran forum you'll see some strong opinions as to why a
conversion to C isn't even a good thing to do, and others will be
sympathetic. At least you're not using a translater package, which
might just convert existing bugs, and instead looking into what the
code is supposed to be doing.

.


Quantcast