Home > Archive > Fortran > May 2005 > Re: GO TO the CONTINUE of a DO loop
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: GO TO the CONTINUE of a DO loop
|
|
|
| This was my example
(1) do 100 i = 1, 10
. . . . . .
if (. . .) go to 100
. . . . . .
100 continue
And Michael Metcalf wrote:
>
> is the best equivalent.
Thank you for the quick response!
Judging from this, I think that the CONTINUE in
example (1) is considered to be "in" the loop. I guess
that implies that
(4) go to 100
. . . . . .
do 100 i = 1, 10
. . . . . .
100 continue
is not standard conforming, for I think I remember jumps
"into" DO loops aren't allowed. Not that I want to write
such a code.
Ryo
| |
| Michael Metcalf 2005-05-17, 3:59 pm |
|
"Ryo" <furufuru@ccsr.u-tokyo.ac.jp> wrote in message
news:1116333820.912395.138280@z14g2000cwz.googlegroups.com...
>
> . . . . . .
> do 100 i = 1, 10
> . . . . . .
> 100 continue
>
> is not standard conforming,
Correct.
Mike Metcalf
|
|
|
|
|