Re: dumb question #1 re: DO loops
- From: "*** Russell" <richard.russell@xxxxxxxxxxx>
- Date: 29 Dec 2005 06:05:45 -0800
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.
.
- Follow-Ups:
- Re: dumb question #1 re: DO loops
- From: Richard E Maine
- Re: dumb question #1 re: DO loops
- References:
- dumb question #1 re: DO loops
- From: StevO
- dumb question #1 re: DO loops
- Prev by Date: Re: dumb question #1 re: DO loops
- Next by Date: Re: How to halt a running program without losing data?
- Previous by thread: Re: dumb question #1 re: DO loops
- Next by thread: Re: dumb question #1 re: DO loops
- Index(es):